Changes between Version 2 and Version 3 of SplitMsg2012


Ignore:
Timestamp:
Sep 5, 2012, 3:00:10 PM (13 years ago)
Author:
meunier
Comment:

(mineure) Corrections (ajout "uses = tty" et GET_ARG => SRL_GET_MWMR)

Legend:

Unmodified
Added
Removed
Modified
  • SplitMsg2012

    v2 v3  
    1616                           stack_size = 2048,
    1717                           sources = ['producer.c']) # nom du fichier source
    18         ] )
     18        ],
     19        uses = [ 'tty' ]
     20        )
    1921}}}
    2022
     
    2830                           stack_size = 2048,
    2931                           sources = ['consumer.c'])
    30         ] )
     32        ],
     33        uses = [ 'tty' ]
     34        )
    3135}}}
    3236
     
    4145FUNC(prod_func)
    4246{
    43     srl_mwmr_t output = GET_ARG(output);
     47    srl_mwmr_t output = SRL_GET_MWMR(output);
    4448    char buf[32] = "...World";
    4549    while (1) {
     
    5761
    5862FUNC(cons_func) {
    59     srl_mwmr_t input = GET_ARG(input);
     63    srl_mwmr_t input = SRL_GET_MWMR(input);
    6064    char buf[32];
    6165    while (1) {