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: 13980 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: Fri May 17 19:16:19 CEST 2024
Total time taken to generate the page: 0.02313 seconds
|