Ignore:
Timestamp:
Nov 2, 2017, 5:59:12 PM (6 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
59a0bde
Parents:
513daec
Message:

Used fast_int in more data structure and started using tuple assign

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/libcfa/concurrency/monitor

    r513daec rc1a9c86  
    4343        int count;
    4444        monitor_desc ** prev_mntrs;
    45         unsigned short  prev_count;
     45        __lock_size_t   prev_count;
    4646        fptr_t          prev_func;
    4747};
     
    5353        monitor_desc * m;
    5454        monitor_desc ** prev_mntrs;
    55         unsigned short  prev_count;
     55        __lock_size_t   prev_count;
    5656        fptr_t          prev_func;
    5757};
     
    8181        // Intrusive linked list Next field
    8282        __condition_criterion_t * next;
    83 
    8483};
    8584
     
    9291
    9392        // Number of criterions in the criteria
    94         unsigned short count;
     93        __lock_size_t count;
    9594
    9695        // Intrusive linked list Next field
     
    9998        // Custom user info accessible before signalling
    10099        uintptr_t user_info;
    101 
    102100};
    103101
     
    123121
    124122        // Number of monitors in the array
    125         unsigned short monitor_count;
    126 
     123        __lock_size_t monitor_count;
    127124};
    128125
Note: See TracChangeset for help on using the changeset viewer.