Home » Developing U++ » U++ Developers corner » Skylark timer jobs...
Re: Skylark timer jobs... [message #40932 is a reply to message #40930] |
Wed, 09 October 2013 07:37  |
 |
mirek
Messages: 14265 Registered: November 2005
|
Ultimate Member |
|
|
dolik.rce wrote on Tue, 08 October 2013 17:11 |
mirek wrote on Tue, 08 October 2013 21:58 | Anyway, after some thinking about real-life examples, I would say making it illegal would work, but would not be really practical. Now I agree that we need sharing 
One ugly issue though... By adding jobs to the main process, you make it more vulnerable to crashing. Plus, perhaps crashing timer process should not delete timer queue.
So to sum it, storing the timer queue into file system suddenly starts to seem like quite a good option!
|

I'll try to prepare some basic implementation, we can then try it out and discuss it further...
The problem with crashing main process can probably be solved by making all the processes execute the jobs, they just need to access the queue items carefully enough...
Honza
|
..or you can fork (and re-fork) one process just for callbacks...
|
|
|
Goto Forum:
Current Time: Sun Jul 06 04:54:01 CEST 2025
Total time taken to generate the page: 0.03403 seconds
|