Changes between Version 2 and Version 3 of SplitMsg2012
- Timestamp:
- Sep 5, 2012, 3:00:10 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SplitMsg2012
v2 v3 16 16 stack_size = 2048, 17 17 sources = ['producer.c']) # nom du fichier source 18 ] ) 18 ], 19 uses = [ 'tty' ] 20 ) 19 21 }}} 20 22 … … 28 30 stack_size = 2048, 29 31 sources = ['consumer.c']) 30 ] ) 32 ], 33 uses = [ 'tty' ] 34 ) 31 35 }}} 32 36 … … 41 45 FUNC(prod_func) 42 46 { 43 srl_mwmr_t output = GET_ARG(output);47 srl_mwmr_t output = SRL_GET_MWMR(output); 44 48 char buf[32] = "...World"; 45 49 while (1) { … … 57 61 58 62 FUNC(cons_func) { 59 srl_mwmr_t input = GET_ARG(input);63 srl_mwmr_t input = SRL_GET_MWMR(input); 60 64 char buf[32]; 61 65 while (1) {