summaryrefslogtreecommitdiff
path: root/include/my_pthread.h
Commit message (Collapse)AuthorAgeFilesLines
* Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2007-02-211-8/+8
|\ | | | | | | into mysql.com:/home/my/mysql-5.0
| * Merge bk-internal.mysql.com:/home/bk/mysql-5.0monty@mysql.com/narttu.mysql.fi2007-01-221-8/+8
| |\ | | | | | | | | | into mysql.com:/home/my/mysql-5.0
| | * Fixed compiler warnings detected by option -Wshadow and -Wunused:monty@mysql.com/narttu.mysql.fi2006-12-151-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Removed not used variables and functions - Added #ifdef around code that is not used - Renamed variables and functions to avoid conflicts - Removed some not used arguments Fixed some class/struct warnings in ndb Added define IS_LONGDATA() to simplify code in libmysql.c I did run gcov on the changes and added 'purecov' comments on almost all lines that was not just variable name changes
* | | Merge chilla.local:/home/mydev/mysql-4.1-axmrgistruewing@chilla.local2007-02-021-1/+0
|\ \ \ | | | | | | | | | | | | into chilla.local:/home/mydev/mysql-5.0-axmrg
| * | | After merge fixistruewing@chilla.local2007-02-021-1/+0
| | | |
* | | | Merge chilla.local:/home/mydev/mysql-4.1-axmrgistruewing@chilla.local2007-02-011-8/+10
|\ \ \ \ | |/ / / | | | | | | | | into chilla.local:/home/mydev/mysql-5.0-axmrg
| * | | Merge chilla.local:/home/mydev/mysql-4.0-axmrgistruewing@chilla.local2007-02-011-8/+9
| |\ \ \ | | | | | | | | | | | | | | | into chilla.local:/home/mydev/mysql-4.1-axmrg
| | * | | Cleanup of thread-type (linuxthread or NTPL) detection codejani@ua141d10.elisa.omakaista.fi2007-01-301-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | Move get_thread_lib to mysys/my_pthread.c Set 'thr_client_alarm' to signal number used by thr_alarm to give alarms
* | | | | Merge chilla.local:/home/mydev/mysql-4.1-axmrgistruewing@chilla.local2007-01-291-1/+8
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | | into chilla.local:/home/mydev/mysql-5.0-axmrg
| * | | Merge a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-4.0jani@a88-113-38-195.elisa-laajakaista.fi2007-01-221-0/+8
| |\ \ \ | | |/ / | | | | | | | | into a88-113-38-195.elisa-laajakaista.fi:/home/my/bk/mysql-4.1
| | * | Fix for configure to detect library correctly.jani@a88-113-38-195.elisa-laajakaista.fi2007-01-221-10/+31
| | | | | | | | | | | | | | | | | | | | Fix to check library in use during runtime. Fix for Bug#16995, "idle connections not being killed due to timeout when NPTL is used".
* | | | Merge siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/50tsmith@siva.hindu.god2007-01-181-0/+20
|\ \ \ \ | | | | | | | | | | | | | | | into siva.hindu.god:/home/tsmith/m/bk/mrg-jan17/maint/50
| * \ \ \ Merge mysql.com:/nfsdisk1/lars/bkroot/mysql-5.0-rpllars/lthalmann@mysql.com/dl145j.mysql.com2007-01-121-0/+20
| |\ \ \ \ | | | | | | | | | | | | | | | | | | into mysql.com:/nfsdisk1/lars/MERGE/mysql-5.0-merge
| | * \ \ \ Merge mysql.com:/home/bkroot/mysql-5.0-rpllars@mysql.com/black.(none)2006-12-081-0/+20
| | |\ \ \ \ | | | |_|_|/ | | |/| | | | | | | | | into mysql.com:/home/bk/MERGE/mysql-5.0-merge
| | | * | | Minor fixrafal@quant.(none)2006-12-081-1/+1
| | | | | |
| | | * | | BUG#24507 (rpl_log.test crash slave):rafal@quant.(none)2006-12-081-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem was located to lie inside current NPTL pthread_exit() implementation. Race conditions in this code can lead to segmentation fault. Hovewer, this can happen only in a race between first thread calling pthread_exit() and other threads. Workaround implemented in this patch spawns a dummy thread, which exits immediately, during thread lib initialization. This will exclude segment violations when further threads exit.
* | | | | | Merge siva.hindu.god:/usr/home/tim/m/bk/g50tsmith/tim@siva.hindu.god2006-12-261-2/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | | | | | | | | into siva.hindu.god:/usr/home/tim/m/bk/50
| * | | | | Many files:kent@mysql.com/kent-amd64.(none)2006-12-231-2/+1
| |/ / / / | | | | | | | | | | | | | | | Changed header to GPL version 2 only
* | | | | Change windows pthread_cond_timedwait to use an absolute time value msvensson@shellback.2006-12-181-6/+8
| | | | |
* | | | | BUG#24687 func_misc test fails on win64msvensson@shellback.2006-12-141-10/+69
|/ / / / | | | | | | | | | | | | | | | | | | | | - Use same precision (milliseconds) for all time functions used when calculating time for pthread_cond_timedwait - Use 'GetSystemTimeAsFileTime' for both start and curr time
* | | | Ignore some generated filesmonty@mysql.com/narttu.mysql.fi2006-11-291-2/+1
|/ / / | | | | | | | | | | | | Don't return from my_thread_global_end() until all threads have called my_thread_end() Bug#24387: Valgrind: my_thread_init (handle_sl sql, handle_one_conn, handle_slave_io)
* | | Merge neptunus.(none):/home/msvensson/mysql/my41-bug13711msvensson@neptunus.(none)2006-05-191-2/+4
|\ \ \ | |/ / | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0
| * | Bug#15869 Cannot shutdown the server - it restartsmsvensson@neptunus.(none)2006-05-191-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - A segfault occured when the function 'kill_server' called 'my_sigset' with signal number 0. 'my_sigset' is a macro which uses 'sigaction' to install the signal handler with an invalid signal number will on most platforms return EINVAL but yields a segfauilt on IRIX 6.5 - The server crash was detected by mysqld_safe and it was restarted although a shutdown was requested. - Semantics of kill_server(0) is not known, leaving it intact
* | | my_pthread.h:kent@mysql.com2005-12-131-2/+2
| | | | | | | | | | | | | | | Bug#15629: Increased thread stack for all 64 bit platforms, else test case 'sp' and 'call fib(20)' gives stack overrun
* | | Bug#14397 - OPTIMIZE TABLE with an open HANDLER causes a crashingo@mysql.com2005-11-151-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Version for 5.0. It fixes three problems: 1. The cause of the bug was that we did not check the table version for the HANDLER ... READ commands. We did not notice when a table was replaced by a new one. This can happen during ALTER TABLE, REPAIR TABLE, and OPTIMIZE TABLE (there might be more cases). I call the fix for this problem "the primary bug fix". 2. mysql_ha_flush() was not always called with a locked LOCK_open. Though the function comment clearly said it must. I changed the code so that the locking is done when required. I call the fix for this problem "the secondary fix". 3. In 5.0 (not in 4.1 or 4.0) DROP TABLE had a possible deadlock flaw in concur with FLUSH TABLES WITH READ LOCK. I call the fix for this problem "the 5.0 addendum fix".
* | | changed define from EXTERN_C to EXTERNC so it doesn't conflict with reggie@big_geek.2005-10-251-6/+6
| | | | | | | | | | | | another macro defined in the Windows header files.
* | | Merge ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-4.1-tmpjani@ua141d10.elisa.omakaista.fi2005-10-131-14/+21
|\ \ \ | |/ / | | | | | | into ua141d10.elisa.omakaista.fi:/home/my/bk/mysql-5.0
| * | Fix wait_timeout (and kill) handling on Mac OS X by cleaning up howjimw@mysql.com2005-10-111-14/+21
| | | | | | | | | | | | | | | signal handlers are set up, the blocking flags for sockets are set, and which thread-related functions are used. (Bug #8731)
* | | pthread_handler_decl() changed to be ctags-friendlyserg@serg.mylan2005-10-081-4/+7
| | | | | | | | | | | | (and contain extern "C" when necessary)
* | | my_pthread.h:kent@mysql.com2005-10-061-1/+1
| | | | | | | | | | | | | | | | | | Let pthread_mutex_init() macro return 0 on Windows mysql_priv.h: Return type is to be 'my_bool' for 'opt_enable_shared_memory'
* | | Merge mysql.com:/home/jimw/my/mysql-4.1-cleanjimw@mysql.com2005-09-121-5/+0
|\ \ \ | |/ / | | | | | | into mysql.com:/home/jimw/my/mysql-5.0-clean
| * | Merge mysqldev@production.mysql.com:jimw/mysql-4.1-scojimw@mysql.com2005-09-121-5/+0
| |\ \ | | | | | | | | | | | | into mysql.com:/home/jimw/my/mysql-4.1-clean
| | * | Port to SCO OpenServer 6. May require running ./configure withjimw@mysql.com2005-09-071-5/+0
| | | | | | | | | | | | | | | | --build=i686-unknown-sysv5SCO_SV6.0.0
* | | | Merge neptunus.(none):/home/msvensson/mysql/mysql-4.1msvensson@neptunus.(none)2005-04-271-0/+6
|\ \ \ \ | |/ / / | | | | | | | | into neptunus.(none):/home/msvensson/mysql/mysql-5.0
| * | | Bug #9954 mysql-4.1.11/cmd-line-utils/libedit/makelist.sh is not portablemsvensson@neptunus.(none)2005-04-271-0/+6
| | | | | | | | | | | | | | | | - Reverted removal of errorcheck mutex initialise, used in safe_mutex_init.
* | | | Merge from 4.1 to 5.0msvensson@neptunus.(none)2005-04-271-9/+3
|\ \ \ \ | |/ / /
| * | | Bug #9954 mysql-4.1.11/cmd-line-utils/libedit/makelist.sh is not portablemsvensson@neptunus.(none)2005-04-271-9/+3
| |/ / | | | | | | | | | | | | | | | - Changed makelist.sh - Bump up required version of autoconf - Use new style to init mutex in my_thr_init
* | | remove the rest of isam/merge referencesserg@serg.mylan2005-04-051-17/+0
| | | | | | | | | | | | fix a race condition in TC_LOG_BINLOG::unlog
* | | manually mergedserg@serg.mylan2005-02-141-3/+3
|\ \ \
| * | | query_id and my_xid -> ulonglongserg@serg.mylan2005-01-271-1/+1
| | | | | | | | | | | | | | | | | | | | fix for binlog+autocommit+tclog comments, style fixes
| * | | XA (not completely polished out yet)serg@serg.mylan2005-01-161-2/+2
| | | |
* | | | Mergeingo@mysql.com2005-02-111-1/+1
|\ \ \ \ | | |/ / | |/| |
| * | | Bug#8391 - "merge" fails on Linux/IA64ingo@mysql.com2005-02-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | It was a thread stack overrun. IA64 had its own stack size section already. Enlarged its default stack size from 192K to 256K.
* | | | mergedserg@sergbook.mysql.com2005-01-061-0/+2
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | - Manually merged two changes from 4.0lenz@mysql.com2005-01-061-0/+2
| |\ \ | | |/
| | * Allow DEFAULT_THREAD_STACK to be set via -DDEFAULT_THREAD_STACK=... so ourjimw@mysql.com2005-01-051-0/+2
| | | | | | | | | | | | | | | | | | official binary builds for Linux that are built against a static glibc with a 128k thread stack size limit can be compiled with a default that doesn't result in a harmless (but oft-misunderstood) warning message. (Bug #6226)
* | | #warning removedserg@serg.mylan2004-11-171-1/+0
| | | | | | | | | | | | AC_FUNC_MMAP changes to AC_CHECK_FUNCS(mmap)
* | | typos fixedserg@sergbook.mylan2004-11-091-5/+5
| | |
* | | mmap portability layer, mmap for Windowsserg@serg.mylan2004-11-041-5/+27
|/ / | | | | | | new macro: thread_safe_decrement, thread_safe_dec_and_test, statistic_decrement
* | To allow compilation on Tru64, the MySQL code should not messjoerg@mysql.com2004-10-041-1/+0
| | | | | | | | | | | | | | with the system-reserved (and system-defined) '_REENTRANT' CPP identifier. Especially, it must not be "undefine"d, because the Tru64 compiler needs it if threads are enabled.