16 Commits

Author SHA1 Message Date
UbitUmarov
095b46d193 cosmetics 2021-09-09 18:48:06 +01:00
UbitUmarov
1e4799604f add suspendflow option to workmanager startthread 2021-09-07 02:51:08 +01:00
UbitUmarov
4afc1e3909 catch possible null refs 2021-08-13 21:36:55 +01:00
UbitUmarov
10b5375679 missing change 2021-01-12 12:45:59 +00:00
UbitUmarov
b98ad6c53c remove some useless NULL arguments 2019-10-22 12:23:19 +01:00
Melanie
0fd17c08ae Massive console refactor. Greatly simplify interface. 2019-08-20 23:28:59 +01:00
UbitUmarov
4a73cc81dc now break several things at same time... sog/sop updates, threads options,... 2018-12-28 13:52:59 +00:00
UbitUmarov
5e67bd5778 main generic use JobEngine also does not need a permanent thread.. actually doesn't even seem to be in use 2017-06-14 00:51:22 +01:00
UbitUmarov
5ce15566ac add option for Fireandforget not timeout (our access to main smartThreadPool) 2017-06-13 18:39:42 +01:00
UbitUmarov
772c5b7db0 move assetsconnector threads to whatchdog; Abort all alive threads known to watchdog before exit 2017-05-25 06:05:02 +01:00
UbitUmarov
f3eb73926e stop a few more threads on exit 2017-05-23 04:05:31 +01:00
Melanie Thielker
b16abc8166 Massive tab and trailing space cleanup 2017-01-05 19:07:37 +00:00
Roger Kirkman
97a471cb35 Fix crash due to setting Thread.name after thread start.
Signed-off-by: Diva Canto <diva@metaverseink.com>
2016-05-12 17:42:42 -07:00
Oren Hurvitz
c8135834db Prevent a crash if "debug jobengine log" is entered without a log level 2015-08-11 07:35:37 +01:00
Justin Clark-Casey (justincc)
8e1e8a0920 Make the performance controlling job processing threads introduced in conference code use a generic JobEngine class rather than 4 slightly different copy/pasted versions. 2015-01-12 20:56:37 +00:00
Justin Clark-Casey (justincc)
86367d7219 refactor: Move methods to start a monitored thread, start work in its own thread and run work in the jobengine from Watchdog to a WorkManager class.
This is to achieve a clean separation of concerns - the watchdog is an inappropriate place for work management.
Also adds a WorkManager.RunInThreadPool() class which feeds through to Util.FireAndForget.
Also switches around the name and obj arguments to the new RunInThread() and RunJob() methods so that the callback obj comes after the callback as seen in the SDK and elsewhere
2014-11-25 23:56:32 +00:00