Changeset 12433 for release


Ignore:
Timestamp:
Jul 21, 2009, 1:53:02 AM (10 years ago)
Author:
rme
Message:

Merge r12379 (don't call free() in destroy_semaphore() when in gc)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • release/1.3/source/lisp-kernel/thread_manager.c

    r11783 r12433  
    722722#ifdef USE_POSIX_SEMAPHORES
    723723    sem_destroy((sem_t *)*s);
    724     free(*s);
     724    if (lisp_global(IN_GC)) {
     725      postGCfree(*s);
     726    } else {
     727      free(*s);
     728    }
    725729#endif
    726730#ifdef USE_MACH_SEMAPHORES
Note: See TracChangeset for help on using the changeset viewer.