Search Results

Search: Posts Made By: orangem
Forum: Programming 09-08-2008
21,906
Posted By orangem
What type of synchronization do you suggest? ...
What type of synchronization do you suggest?

I would like to remind you that if thread is terminated due some problem (memory or something like that) synchronization might fail as well.

Also,...
Forum: Programming 09-08-2008
21,906
Posted By orangem
Also, one more problem with join is that if I...
Also, one more problem with join is that if I have 100 threads, and if they are all working and I start join wait on first one which is wait 5 min, for example. during that time other might be...
Forum: Programming 09-08-2008
21,906
Posted By orangem
/*Mark it active*/ ...
/*Mark it active*/
active_status_array[i]=1;

/*Create new threads*/
rc = pthread_create(&thdreads[i], &attr, file_parser, (void*)&thread_data_array[i]);

if (rc)
...
Forum: Programming 09-08-2008
21,906
Posted By orangem
it`s detached thread
it`s detached thread
Forum: Programming 09-08-2008
21,906
Posted By orangem
POSIX - Hot to check if detached thread is still active
Hello,

I have created program that run threads one by one, maximum 100. Each thread will process one block of data, and once it`s finished, new thread is created with new block of data....etc
...
Showing results 1 to 5 of 5

 
All times are GMT -4. The time now is 06:41 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy