Upload Code
loading-left
loading loading loading
loading-right

Loading

Profile
No self-introduction
codes (2)
This module demonstrates POSIX semaphores.
no vote
 This module demonstrates POSIX semaphores.      A counting semaphore is created, primed with 0 counts.      Five consumer threads are started, each trying to obtain      the semaphore.        A producer thread is created, which periodically posts      the semaphore, unblocking one of the consumer threads.   The exercise is to use the mutex construct that we learned   about to modify the source to prevent our access problem.
zaca
2017-04-27
0
1
demonstrate pulses between a server and a client
no vote
QNX6.5 operating system  This program, along with event_server.c, demonstrate pulses between a  * server and a client using MsgDeliverEvent().  *  * The client finds the server using name_open(), passing it the name the  * server has registered with name_attach().  *  * The code to set up the event structure for sending to the server has  * been removed, you will need to fill it in.  *  *  To test it, first run event_server and then run the client as follows:  *    event_client
zaca
2017-04-27
0
1
No more~