plugins/canfestival/cf_runtime.c
changeset 137 187a4e2412e5
parent 75 9ad18a387a96
child 144 7818ec7b5c53
equal deleted inserted replaced
136:f49f586a0a43 137:187a4e2412e5
    92 }
    92 }
    93 
    93 
    94 #define NODE_SEND_SYNC(nodename)\
    94 #define NODE_SEND_SYNC(nodename)\
    95     sendSYNCMessage(&nodename##_Data);
    95     sendSYNCMessage(&nodename##_Data);
    96 
    96 
    97 void __retrive_%(locstr)s()
    97 void __retrieve_%(locstr)s()
    98 {
    98 {
    99     /* Locks the stack, so that no changes occurs while PLC access variables
    99     /* Locks the stack, so that no changes occurs while PLC access variables
   100      * TODO : implement buffers to avoid such a big lock  
   100      * TODO : implement buffers to avoid such a big lock  
   101      *  */
   101      *  */
   102     EnterMutex();
   102     EnterMutex();