]> rtime.felk.cvut.cz Git - pes-rpp/rpp-lwip.git/blobdiff - doc/sys_arch.txt
Allow minimal unix target to build in cygwin (but not necessarily run).
[pes-rpp/rpp-lwip.git] / doc / sys_arch.txt
index 752d18d425f98b5e8ce539b2b83b419662f103a9..6568a77571d50f9e4eb2efd955ae3a394ef3955c 100644 (file)
@@ -115,9 +115,9 @@ If threads are supported by the underlying operating system and if
 such functionality is needed in lwIP, the following function will have
 to be implemented as well:
 
-- void sys_thread_new(void (* thread)(void *arg), void *arg)
+- sys_thread_t sys_thread_new(void (* thread)(void *arg), void *arg)
 
   Starts a new thread that will begin its execution in the function
   "thread()". The "arg" argument will be passed as an argument to the
-  thread() function.
+  thread() function. The id of the new thread is returned.