lkml.org 
[lkml]   [2002]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH ] POSIX clocks & timers take 15 (NOT HIGH RES)

Ok, finally starting to look at merging this, however:

This must go (we already have a timespec, there's no way it should be
here in <asm/signal.h>):

+#ifndef _STRUCT_TIMESPEC
+#define _STRUCT_TIMESPEC
+struct timespec {
+ time_t tv_sec; /* seconds */
+ long tv_nsec; /* nanoseconds */
+};
+#endif /* _STRUCT_TIMESPEC */

and you have things like

+ if ((flags & TIMER_ABSTIME) &&
+ (clock->clock_get != do_posix_clock_monotonic_gettime)) {
+ }else{
+ }

and

+if (!p) {
+printk("in sub_remove for id=%d called with null pointer.\n", id);
+return(0);
+}

and obviously the "nanosleep()" thing and the CLOCK_NANOSLEEP_ENTRY()
stuff has been discussed in the unrelated thread (ie it doesn't work for
alpha or other architectures).

Linus

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:31    [W:0.083 / U:13.716 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site