All the docume开发者_开发知识库ntation I\'ve read so far seems to indicate that posix thread support exists in my version of vxWorks (6.8) however a simple test application fails to perform as expecte
I have a pretty large application that dynamically loads shared objects and executes code in the shared object. As a precaution, I put a try/catch around almost everything in main. I created a catch f
I have in my project the following method: long compare( long* avar, long comp, long exc ) { return __sync_val_compare_and_swap( avar, comp, exc );
The man page for nice says "nice()开发者_运维技巧 adds inc to the nice value for the calling process. So, can we use it to change the nicevalue for a thread created by pthread_create?
There is a program I am working on that, after I launch it, works for some time and then stalls. Here is a simplified version of the program:
I am using pthread library for multi-threadi开发者_运维知识库ng. Inside thread function, I use sleep system call. Will this block a single thread or the whole process. Thanks.Generally, sleep affects
My program is something like this.. I wanted to know will I make开发者_JAVA技巧 my program slow, if I call pthread join???
I have written a program that captures and displays video from three video cards. For every frame I spawn a thread that compresses the frame to Jpeg and then puts it in queue for writing to disk. I al
pthread_mutex_t qlock[5] = PTHREAD_MUTEX_INITIALIZER; pthread_cond_t qcon开发者_JS百科d[5] =PTHREAD_COND_INITIALIZER;
I have a program that processes neural spike data that is broadcast in UDP packets on a local network.