U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ MT-multithreading and servers » bug in CoWork since C++11
Re: bug in CoWork since C++11 [message #46793 is a reply to message #46789] Mon, 08 August 2016 19:30 Go to previous messageGo to previous message
crydev is currently offline  crydev
Messages: 151
Registered: October 2012
Location: Netherlands
Experienced Member
mirek wrote on Mon, 08 August 2016 09:32
Refactoring finished, please try now...

Mirek


Thanks Mirek,

I just tested with the new build (10148). The situation has improved; it does not make infinite waits anymore. However, it still does not entirely work. It just ends when there are still 'todo' in the CoWork. I went ahead and tried LLOG; I attached the log below. What could be wrong?

#9 Waiting ended
#9 Job acquired
Quit thread
#1 Waiting ended
CoWork thread #9 finished
#1 Job acquired
Quit thread
CoWork thread #1 finished
#7 Waiting ended
#7 Job acquired
Quit thread
CoWork thread #7 finished
DoJobA 1, todo: 7 (CoWork 0125a194)
Finished, remaining todo 7
#6 Job finished
#6 Job acquired
Quit thread
CoWork thread #6 finished
DoJobA 1, todo: 6 (CoWork 0125a194)
Finished, remaining todo 6
#2 Job finished
#2 Job acquired
Quit thread
CoWork thread #2 finished
DoJobA 1, todo: 5 (CoWork 0125a194)
Finished, remaining todo 5
#5 Job finished
#5 Job acquired
Quit thread
CoWork thread #5 finished
DoJobA 1, todo: 4 (CoWork 0125a194)
Finished, remaining todo 4
#3 Job finished
#3 Job acquired
Quit thread
CoWork thread #3 finished
DoJobA 1, todo: 3 (CoWork 0125a194)
Finished, remaining todo 3
#4 Job finished
#4 Job acquired
Quit thread
CoWork thread #4 finished
DoJobA 1, todo: 2 (CoWork 0125a194)
Finished, remaining todo 2
#8 Job finished
#8 Job acquired
Quit thread
CoWork thread #8 finished
DoJobA 1, todo: 1 (CoWork 0125a194)
Finished, remaining todo 1
#0 Job finished
#0 Job acquired
Quit thread
CoWork thread #0 finished
Quit ended


Thanks!

crydev
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: how many threads should i use in SkyLark server?
Next Topic: WebSockets non blocking mode?
Goto Forum:
  


Current Time: Fri Oct 09 00:19:16 GMT+2 2026

Total time taken to generate the page: 0.01276 seconds