Ignore:
Timestamp:
Dec 10, 2020, 3:20:33 PM (3 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
297cf18
Parents:
c920317
Message:

Stacks are always created with mmap to control page permission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/preemption.cfa

    rc920317 rbfcf6b9  
    536536        // Wait for the preemption thread to finish
    537537
    538         pthread_join( alarm_thread, 0p );
    539         free( alarm_stack );
     538        __destroy_pthread( alarm_thread, alarm_stack, 0p );
    540539
    541540        // Preemption is now fully stopped
Note: See TracChangeset for help on using the changeset viewer.