Search Results

Search: Posts Made By: Tinkh
Forum: Solaris 03-29-2011
2,246
Posted By Tinkh
They start on the same OS (solaris 8 when it...
They start on the same OS (solaris 8 when it works, solaris 10 when it does'nt work).

Thread 1 (very simplification of source code) :

main_function { /*(called every 20ms)*/

(... some...
Forum: Solaris 03-28-2011
2,246
Posted By Tinkh
Solaris 8 -> Solaris 10 = problem :/
Hello,

I have a multithreading program (just two threads) which works on Solaris 8. I use pthread library to synchronize threads.
I try to run it on Solaris 10 (on another computer). All sources...
13,742
Posted By Tinkh
Sorry but you're problem has no link with first...
Sorry but you're problem has no link with first problem (measuring thread execution) and I will never have answer if this topic speaks about another problem.
Could moderator splits this message to...
13,742
Posted By Tinkh
Thank you for reply :b: I already try to...
Thank you for reply :b:

I already try to use CLOCK_THREAD_CPUTIME_ID but it does'nt work with Solaris 8.
I'm trying to use getrusage with RUSAGE_SELF (RUSAGE_LWP is not available in...
13,742
Posted By Tinkh
Exactly. another topic explains this problem...
Exactly.
another topic explains this problem better than me but doesn't give a solution : http://www.linuxforums.org/forum/programming-scripting/101371-pthreads-thread-time-vs-process-time.html
13,742
Posted By Tinkh
I have two threads with WRITE/READ between them....
I have two threads with WRITE/READ between them. The synchronisation works (I use pthread library) but I must calculate the execution of the READ function.
A part of my program :
void...
13,742
Posted By Tinkh
Measure thread execution (in C, unix)
Hi,

I have a simulation program which creates two threads and I would like to know if I can measure the time of each individual thread. Threads communicate (I use pthread to manage them) and I...
Showing results 1 to 7 of 7

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