view paper/src/genData.h @ 158:d2be76d48b00 default tip

update
author anatofuz <anatofuz@cr.ie.u-ryukyu.ac.jp>
date Wed, 17 Feb 2021 14:37:21 +0900
parents 4f34c642e9fb
children
line wrap: on
line source

union Data {
    ///home/anatofuz/src/firefly/hg/Gears/Gears/src/parallel_execution/../parallel_execution/Atomic.h
#ifndef ATOMIC_STRUCT
    struct Atomic {
        union Data* atomic;
...
#else
    struct Node;
#endif
    ///home/anatofuz/src/firefly/hg/Gears/Gears/src/parallel_execution/../parallel_execution/examples/DPPMC/Phils.h
#ifndef PHILS_STRUCT
    struct Phils {
        union Data* phils;
        enum Code putdown_lfork;
        enum Code putdown_rfork;
        enum Code thinking;
        enum Code pickup_rfork;
        enum Code pickup_lfork;
        enum Code eating;
        enum Code next;
    } Phils;
#define PHILS_STRUCT
#else
    struct Phils;
#endif
    ///home/anatofuz/src/firefly/hg/Gears/Gears/src/parallel_execution/../parallel_execution/examples/DPPMC/PhilsImpl.h
#ifndef PHILSIMPL_STRUCT
    struct PhilsImpl {
        int self;
        struct AtomicT_int* Leftfork;
        struct AtomicT_int* Rightfork;
        enum Code next;
    } PhilsImpl;
#define PHILSIMPL_STRUCT
#else
    struct PhilsImpl;
#endif
...
}