#include <nitro/wfs.h>
void WFS_SetServerSync(WFSServerContext *context, int bitmap);
context | Pointer to the WFSServerContext structure. |
bitmap | AID bitmap for the children (clients) to synchronize the responses for. No response synchronization will be done if 0 is specified. (This is the default behavior.) The lowest-order bit is always ignored. |
None.
Sets the synchronization group to use when a parent (server) responds to read requests from children (clients). The WFS library assumes that the group of children (clients) specified with this function will issue read requests for the same content at the same time from the perspective of the parent (server). The library will wait to respond until all read requests have been issued from all of the children (clients) in question. Since the WFS library has excellent ability to broadcast the same content to all children, improved transfer efficiency can be expected.
The parent (server) will not start the response unless requests from all the specified children (clients) are in place, so be aware that certain application designs could result in a deadlock.
If even one of the read requests issued by the children (clients) is different from the others, the synchronization setting will be cancelled.
WFS_GetServerConnectedBitmap, WFS_GetServerBusyBitmap
2007/06/06 Initial version.
CONFIDENTIAL