diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-30 18:05:48 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1999-08-30 18:05:48 +0000 |
commit | 260b0c2155d809beb550b13fa4fcb08408af5d3f (patch) | |
tree | 3a3e630343dec8dc534a61a14e66476212269493 /c/src/exec/score/include/rtems/score/thread.h | |
parent | Patch from Ralf Corsepius <corsepiu@faw.uni-ulm.de>: (diff) | |
download | rtems-260b0c2155d809beb550b13fa4fcb08408af5d3f.tar.bz2 |
Patch from Charles-Antoine Gauthier <charles.gauthier@iit.nrc.ca> to add
support for return codes from POSIX threads that do an implicit exit
by returning from the bottom of the main function.
Diffstat (limited to '')
-rw-r--r-- | c/src/exec/score/include/rtems/score/thread.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/c/src/exec/score/include/rtems/score/thread.h b/c/src/exec/score/include/rtems/score/thread.h index 57acb755fd..1ca0005490 100644 --- a/c/src/exec/score/include/rtems/score/thread.h +++ b/c/src/exec/score/include/rtems/score/thread.h @@ -36,9 +36,14 @@ extern "C" { /* * The following defines the "return type" of a thread. + * + * NOTE: This cannot always be right. Some APIs have void + * tasks/threads, others return pointers, others may + * return a numeric value. Hopefully a pointer is + * always at least as big as an unsigned32. :) */ -typedef void Thread; +typedef void *Thread; /* * The following defines the ways in which the entry point for a |