> Is there a replacement for CPROC_SWITCHING and CPROC_RUNNING in
> cproc_t->state, to know if a thread has been waken up?

No.  We do not need it.

> __pthread.state has the following states...
>  
>  /* Thread state.  */
> enum pthread_state
> {
>   PTHREAD_JOINABLE = 0,
>   PTHREAD_DETACHED,
>   PTHREAD_EXITED,
>   PTHREAD_TERMINATED
> };
> 
> Can a thread be waken up if it hasnt been blocked?

pthread_state has nothing to do with that.  Threads are put to sleep
via __pthread_block and awoken with __pthread_wakeup.


_______________________________________________
Bug-hurd mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-hurd

Reply via email to