Diff: CallbackMessage

Search SINQ Wiki:
SINQ LIN

SINQ Wiki
- Main Page
- Search SINQ Wiki
- Sample Environment
- Probenumg. Intern
- Troubleshooting SICS

This Page
- Page Info
- Printer Friendly

Referenced by
...nobody

Wiki Info
- Unused pages
- Undefined pages
- RecentChanges
- Page Index
- System Info
- JSPWiki Docu
- SandBox
- OneMinuteWiki
- Create a New Page




JSPWiki v2.0.52


Difference between version 4 and version 3:
At line 11 added 12 lines.
+ Given the following functions dealing with callbacks:
+ {{{
+ typedef void KillFunc(void *);
+ typedef int CallbackFunction(Hdb *node, void *msg, void *data);
+ typedef struct Callback Callback;
+
+ InvokeCallback(Hdb *node, void *msg);
+ Callback *MakeCallback(CallbackFunction *cbFunc, void *data, KillFunc *killFunc);
+ AppendCallback(Hdb *node, Callback *cb);
+ PrependCallback(Hdb *node, Callback *cb);
+ }}}
+
Removed line 19
- Hdb *node;
Lines 27-29 were replaced by line 38
- the callback.
-
- SetClassCast converts an anonymous message to an implementation. It returns
+ the callback. SetClassCast converts an anonymous message to an implementation. It returns
Line 52 was replaced by line 61
- CallCallback(callbacklist, &setMsg);
+ InvokeCallback(node, &setMsg);

Back to CallbackMessage, or to the Page History.