Changeset 470

Show
Ignore:
Timestamp:
10/26/09 06:55:10 (4 weeks ago)
Author:
cristy
Message:
 
Location:
WizardsToolkit/trunk/wizard
Files:
5 modified

Legend:

Unmodified
Added
Removed
  • WizardsToolkit/trunk/wizard/configure.c

    r461 r470  
    115115WizardExport WizardBooleanType ConfigureComponentGenesis(void) 
    116116{ 
    117   assert(configure_semaphore == (SemaphoreInfo *) NULL); 
    118   configure_semaphore=AllocateSemaphoreInfo(); 
     117  AcquireSemaphoreInfo(&configure_semaphore); 
    119118  return(WizardTrue); 
    120119} 
  • WizardsToolkit/trunk/wizard/log.c

    r459 r470  
    689689WizardExport WizardBooleanType LogComponentGenesis(void) 
    690690{ 
    691   assert(log_semaphore == (SemaphoreInfo *) NULL); 
    692   log_semaphore=AllocateSemaphoreInfo(); 
     691  AcquireSemaphoreInfo(&log_semaphore); 
    693692  return(WizardTrue); 
    694693} 
  • WizardsToolkit/trunk/wizard/mime.c

    r459 r470  
    10001000WizardExport WizardBooleanType MimeComponentGenesis(void) 
    10011001{ 
    1002   assert(mime_semaphore == (SemaphoreInfo *) NULL); 
    1003   mime_semaphore=AllocateSemaphoreInfo(); 
     1002  AcquireSemaphoreInfo(&mime_semaphore); 
    10041003  return(WizardTrue); 
    10051004} 
  • WizardsToolkit/trunk/wizard/random.c

    r452 r470  
    878878WizardExport WizardBooleanType RandomComponentGenesis(void) 
    879879{ 
    880   assert(random_semaphore == (SemaphoreInfo *) NULL); 
    881   random_semaphore=AllocateSemaphoreInfo(); 
     880  AcquireSemaphoreInfo(&random_semaphore); 
    882881  return(WizardTrue); 
    883882} 
  • WizardsToolkit/trunk/wizard/resource.c

    r459 r470  
    855855    Set Wizard resource limits. 
    856856  */ 
    857   assert(resource_semaphore == (SemaphoreInfo *) NULL); 
    858   resource_semaphore=AllocateSemaphoreInfo(); 
     857  AcquireSemaphoreInfo(&resource_semaphore); 
    859858  pagesize=(-1); 
    860859#if defined(WIZARDSTOOLKIT_HAVE_SYSCONF) && defined(_SC_PAGESIZE)