From: <ljs...@us...> - 2008-05-19 15:28:49
|
Revision: 584 http://cadcdev.svn.sourceforge.net/cadcdev/?rev=584&view=rev Author: ljsebald Date: 2008-05-19 08:28:34 -0700 (Mon, 19 May 2008) Log Message: ----------- Oops... forgot a few things. Modified Paths: -------------- kos/include/kos.h kos/kernel/thread/thread.c Modified: kos/include/kos.h =================================================================== --- kos/include/kos.h 2008-05-19 15:23:23 UTC (rev 583) +++ kos/include/kos.h 2008-05-19 15:28:34 UTC (rev 584) @@ -29,6 +29,7 @@ #include <kos/limits.h> #include <kos/thread.h> #include <kos/sem.h> +#include <kos/rwsem.h> #include <kos/mutex.h> #include <kos/cond.h> #include <kos/genwait.h> Modified: kos/kernel/thread/thread.c =================================================================== --- kos/kernel/thread/thread.c 2008-05-19 15:23:23 UTC (rev 583) +++ kos/kernel/thread/thread.c 2008-05-19 15:28:34 UTC (rev 584) @@ -12,6 +12,7 @@ #include <reent.h> #include <kos/thread.h> #include <kos/sem.h> +#include <kos/rwsem.h> #include <kos/cond.h> #include <kos/genwait.h> #include <arch/irq.h> @@ -769,6 +770,7 @@ /* Initialize thread sync primitives */ genwait_init(); + rwsem_init(); sem_init(); cond_init(); @@ -809,6 +811,7 @@ } /* Shutdown thread sync primitives */ + rwsem_shutdown(); sem_shutdown(); cond_shutdown(); genwait_shutdown(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |