History log of /haiku/src/servers/launch/Worker.cpp
Revision Date Author Comments
# c2f71fa6 05-Nov-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: give the main worker thread a different name.

* It's now called "main worker" instead of just worker.


# a1406a01 18-Oct-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Increased the number of worker threads.

* Since we're disk bound, and not CPU bound, it doesn't make much sense
to restrict the number of threads on the number of CPUs.
* It's still not completely independent of the number of CPUs now,
though: we'll have 3 * CPU count worker threads.


# abb7b710 10-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Fixed a race condition in Worker startup.

* When the thread is started during the construction of the base
class, the virtual method table may still point to the methods
of the base class when the thread actually starts to run.
* This caused the main worker to have a timeout, which could
eventually be reached which in turn caused all job processing
to stop.
* That's what you get when you do Java all day; whoever designed
C++ should be slapped (I'm talking to you, Bjarne).


# 234f76a1 17-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: log failed launch jobs.


# 0337b4ad 01-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Moved (Main)Worker to its own file.


# abb7b710044a2ac8c1b3d3266585f5e183d02c99 10-Jul-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Fixed a race condition in Worker startup.

* When the thread is started during the construction of the base
class, the virtual method table may still point to the methods
of the base class when the thread actually starts to run.
* This caused the main worker to have a timeout, which could
eventually be reached which in turn caused all job processing
to stop.
* That's what you get when you do Java all day; whoever designed
C++ should be slapped (I'm talking to you, Bjarne).


# 234f76a19c2bac140d68ddff503db3ec5a402a2e 17-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: log failed launch jobs.


# 0337b4adfdc34e53370f6fe95b4c55db5f13fe53 01-Jun-2015 Axel Dörfler <axeld@pinc-software.de>

launch_daemon: Moved (Main)Worker to its own file.