projects
/
silc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added SILC Thread Queue API
[silc.git]
/
lib
/
silcutil
/
beos
/
silcbeosthread.c
diff --git
a/lib/silcutil/beos/silcbeosthread.c
b/lib/silcutil/beos/silcbeosthread.c
index 48e7e7e931f92eb15370c18cbf578a8d507e42e1..eb411412f6b0bd52ae0c0a7c2e74d3f21f4e85a9 100644
(file)
--- a/
lib/silcutil/beos/silcbeosthread.c
+++ b/
lib/silcutil/beos/silcbeosthread.c
@@
-23,7
+23,7
@@
since the silc_thread_self() causes that BeOS and OS/2 is hard to
do to support this SilcThread API */
since the silc_thread_self() causes that BeOS and OS/2 is hard to
do to support this SilcThread API */
-#include "silc
includes
.h"
+#include "silc.h"
#ifdef SILC_THREADS
#ifdef SILC_THREADS
@@
-32,7
+32,7
@@
typedef struct {
thread_id thread;
SilcThreadStart start_func;
void *context;
thread_id thread;
SilcThreadStart start_func;
void *context;
-
b
ool waitable;
+
SilcB
ool waitable;
} *SilcBeosThread;
/* Actual routine that is called by BeOS when the thread is created.
} *SilcBeosThread;
/* Actual routine that is called by BeOS when the thread is created.
@@
-47,7
+47,7
@@
static void *silc_thread_beos_start(void *context)
#endif
SilcThread silc_thread_create(SilcThreadStart start_func, void *context,
#endif
SilcThread silc_thread_create(SilcThreadStart start_func, void *context,
-
b
ool waitable)
+
SilcB
ool waitable)
{
#ifdef SILC_THREADS
int ret;
{
#ifdef SILC_THREADS
int ret;
@@
-93,7
+93,7
@@
SilcThread silc_thread_self(void)
#endif
}
#endif
}
-
b
ool silc_thread_wait(SilcThread thread, void **exit_value)
+
SilcB
ool silc_thread_wait(SilcThread thread, void **exit_value)
{
#ifdef SILC_THREADS
status_t ret, retval;
{
#ifdef SILC_THREADS
status_t ret, retval;