sync.c: Get sync points limit back
commitfaaad6e75d82f3228298b01a61b08eb37ca10bb4
authorCyrill Gorcunov <gorcunov@gmail.com>
Tue, 22 Dec 2009 20:33:40 +0000 (22 23:33 +0300)
committerCyrill Gorcunov <gorcunov@gmail.com>
Tue, 22 Dec 2009 20:42:03 +0000 (22 23:42 +0300)
tree546b900454bd632b2fba4a2036da9a39e6c4e63d
parentf064c1cb02b06a8981121f9e44c31bd6878bbbe1
sync.c: Get sync points limit back

We should explicitly check if we can hold the sync
point, otherwise we may wrap the array index and
reach incorrect value (if we're lucky).

So instead we make the index "almost" unlmited.

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
sync.c