# WFS_SetServerSync

## Syntax

  `#include <nitro/wfs.h>`
  `void WFS_SetServerSync(WFSServerContext *context, int bitmap);`

## Arguments

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.

## Return Values

None.

## Description

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.

## See Also

`WFS_GetServerConnectedBitmap, WFS_GetServerBusyBitmap
`

## Revision History

2007/06/06 Initial version.

CONFIDENTIAL