httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brian Havard" <>
Subject Re: APR: detached threads?
Date Sun, 06 Jun 1999 04:16:46 GMT
On Sat, 5 Jun 1999 17:12:48 -0400 (EDT), Ryan Bloom wrote:

>> Also, the APR thread interface assumes that a thread has a return value but
>> that's not the case in OS/2 (and Win32 if I remember right). Do we make use
>> of it anywhere?
>I suggest always returning APR_SUCCESS when the thread returns.  That will
>just mean that the thread returned becaseu we told it to.  If the OS
>doesn't return a error condition, we shouldn't worry about it.  If the OS
>doesn't allow for detached threads, we need to know this, because the
>current hybrid model relies on detached threads.

Going by Ralf's explanation, OS/2 kernel threads are always detached. If
there's a need for threads to be able to pass a return value back to their
parents I can implement that in APR with an extra layer.

 |  Brian Havard                 |  "He is not the messiah!                   |
 |  |  He's a very naughty boy!" - Life of Brian |

View raw message