/* I used Apache's APR code as a reference here. */
/* $Id$ */
-#include "silcincludes.h"
+/* XXX This leaks memory. Perhaps the SilcThread API should be changed
+ since the silc_thread_self() causes that BeOS and OS/2 is hard to
+ do to support this SilcThread API */
+
+#include "silc.h"
#ifdef SILC_THREADS
thread_id thread;
SilcThreadStart start_func;
void *context;
- bool waitable;
+ SilcBool waitable;
} *SilcBeosThread;
/* Actual routine that is called by BeOS when the thread is created.
#endif
SilcThread silc_thread_create(SilcThreadStart start_func, void *context,
- bool waitable)
+ SilcBool waitable)
{
#ifdef SILC_THREADS
int ret;
#endif
}
-bool silc_thread_wait(SilcThread thread, void **exit_value)
+SilcBool silc_thread_wait(SilcThread thread, void **exit_value)
{
#ifdef SILC_THREADS
status_t ret, retval;