Ignore:
Timestamp:
Mar 18, 2019, 2:32:17 PM (6 years ago)
Author:
tdelisle <tdelisle@…>
Branches:
ADT, arm-eh, ast-experimental, cleanup-dtors, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, pthread-emulation, qualifiedEnum
Children:
466b1c9
Parents:
fca6ca6
Message:

Fixed error in libcfa where suspend() should have been declared suspend(void)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/coroutine.hfa

    rfca6ca6 r76d3ca6  
    4646//-----------------------------------------------------------------------------
    4747// Public coroutine API
    48 static inline void suspend();
     48static inline void suspend(void);
    4949
    5050forall(dtype T | is_coroutine(T))
     
    7171
    7272// Suspend implementation inlined for performance
    73 static inline void suspend() {
     73static inline void suspend(void) {
    7474        // optimization : read TLS once and reuse it
    7575        // Safety note: this is preemption safe since if
Note: See TracChangeset for help on using the changeset viewer.