The problem I am seeking some help for is written in point no. 7. Before that, I describe the structure of my code.
We are working on a C language application which is simple RTSP/RTP client to record video from Axis a number of Cameras. We launch a pthread for each of the camera which establishes the RTP session a
Are there locks in Linux where the waiting queue is FIFO? This seems like such an obvious thing, and yet I just discovered that pthread mutexes aren\'t FIFO, and semaphores apparentl开发者_Python百科y
I don\'t know how to marshall this structure in M开发者_JS百科ono. typedef struct rib_struct { rib_used_t used;
The pthread_cond_timedwait function needs an absolute time in a time timespec structure. What time function I\'m suppose to use to obtain the absolute time. I saw a lot of example on the web and I fo
I am having a problem with mutexes (pthread_mutex on Linux) where if a thread locks a mutex right again after unlocking it, another thread is not very successful getting a lock. I\'ve attached test co
Hello once more dear internet, I am writing a small program that, among other things, writes to a log file all of the commands it received.
assume creating 3 worker threads by pthread_create, in these worker thread routine, each call a simple infinite loop function which do not have a return to do counting
New to pthread programming, and stuck on this error when working on a C++&C mixed code. What I have done is to call the c code in the thread created by the c++ code. There is a static boolean po
So I\'m trying to create a signal handler using pthreads which works on both OS X and Linux. The code below works on OS X but doesn\'t work on Fedora 13.