Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/io/types.hfa

    rc402739f rd2b5d2d  
    104104        //-----------------------------------------------------------------------
    105105        // IO user data
    106         struct io_future_t {
    107                 future_t self;
     106        struct __io_user_data_t {
    108107                __s32 result;
     108                oneshot sem;
    109109        };
    110 
    111         static inline {
    112                 bool fulfil( io_future_t & this, __s32 result ) {
    113                         this.result = result;
    114                         return fulfil(this.self);
    115                 }
    116 
    117                 // Wait for the future to be fulfilled
    118                 bool wait( io_future_t & this ) {
    119                         return wait(this.self);
    120                 }
    121         }
    122110
    123111        //-----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.