Changeset 121 in libcf for trunk/test/log.c


Ignore:
Timestamp:
06/10/13 16:45:12 (11 years ago)
Author:
cheese
Message:

#1 revert thread creation function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/log.c

    r109 r121  
    2929    CF_DEBUG_PRINT (stderr, "created %dth thread\n", th);
    3030
    31     for (i = 0 ; i < 100000 ; i++)
     31    for (i = 0 ; i < 10000 ; i++)
    3232    {
    3333        CF_Log_Write (LOG_MT, "LOG_MT", "[%d] multi-threadedlogging test %d\n", th, i);
     
    8585    for (i = 0 ; i < 10 ; i++)
    8686    {
    87         if (CF_Thread_CreateCtx (&tid[i], test_log_mt, &i) < 0)
     87        if (CF_Thread_Create (&tid[i], test_log_mt, &i) < 0)
    8888        {
    8989            CF_DEBUG_PRINT (stderr, "failed to create %dth thread\n", i);
Note: See TracChangeset for help on using the changeset viewer.