]> git.buserror.net Git - polintos/scott/priv.git/blobdiff - kernel/include/kern/sched.h
update
[polintos/scott/priv.git] / kernel / include / kern / sched.h
index 5592063c1fd39fdd7c3d01e3f078490cdd30b056..4d743382ee23ba91b6916f136df859eb54b4441b 100644 (file)
@@ -79,9 +79,10 @@ namespace Threads {
                // FIXME: use sleeping lock once implemented
                Lock::SpinLock threadlist_lock;
        
-               typedef void (*thread_func)(void *arg);
+               typedef void (*thread_func)(void *arg1, void *arg2);
        
-               Thread *new_thread(thread_func func, void *arg, char *name = NULL);
+               Thread *new_thread(thread_func func, void *arg1, void *arg2 = NULL,
+                                  char *name = NULL);
                void schedule();
                void sched_new_thread();