This chapter will describe a lot of things that you need to know when working on the MySQL code.
The MySQL server creates the the following threads:
process_alarm()
to force timeouts on connections
that has been idle too long.
-DUSE_ALARM_THREAD
, a dedicated thread that
handles alarms is created; This is only used one some system where
there is some problems with sigwait()
or if one wants to use the
thr_alarm()
code in ones one application without a dedicates signal
handling thread.
--flush-time
option, a dedicated thread is created
to flush all tables at the given interval.
INSERT DELAYED
gets its
own thread.
mysqladmin processlist
only shows the connection and INSERT
DELAYED
threads.
Go to the first, previous, next, last section, table of contents.