• unknown's avatar
    The pthread() support was not working. Once I fixed use-thread in a previous... · 9055eaa1
    unknown authored
    The pthread() support was not working. Once I fixed use-thread in a previous push I realized that the pthread/windows code was not working. I've replaced the fork/thread design with a pure pthread design using condition timers and broadcast.
    
    Ramification, UNIX now uses thread, support for slaves had to be dropped and there is no need for the --use-threads flag.
    Added --concurrency=0 option so that it will start at 1 and keep going up until something bad happens :)
    
    
    client/client_priv.h:
      Dead option removed
    client/mysqlslap.c:
      Removed lock code, replaced with posix thread code.
    mysql-test/mysql-test-run.pl:
      Removed dead option
    mysql-test/t/mysqlslap.test:
      Removed dead option
    9055eaa1
mysqlslap.c 56.6 KB