This chapter describes 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 have been idle too long.
-DUSE_ALARM_THREAD
, a dedicated thread that
handles alarms is created. This is only used on some systems where
there are some problems with sigwait()
or if one wants to use the
thr_alarm()
code in ones application without a dedicated 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.
--master-host
, slave replication thread will be started to read and apply
updates from the master.
mysqladmin processlist
only shows the connection and INSERT
DELAYED
threads.
Go to the first, previous, next, last section, table of contents.