Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

glwaitsync(3g) [osx man page]

GLWAITSYNC(3G)							    OpenGL 3.3							    GLWAITSYNC(3G)

NAME
glWaitSync - instruct the GL server to block until the specified sync object becomes signaled C SPECIFICATION
void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); PARAMETERS
sync Specifies the sync object whose status to wait on. flags A bitfield controlling the command flushing behavior. flags may be zero. timeout Specifies the timeout that the server should wait before continuing. timeout must be GL_TIMEOUT_IGNORED. DESCRIPTION
glWaitSync causes the GL server to block and wait until sync becomes signaled. sync is the name of an existing sync object upon which to wait. flags and timeout are currently not used and must be set to zero and the special value GL_TIMEOUT_IGNORED, respectively[1]. glWaitSync will always wait no longer than an implementation-dependent timeout. The duration of this timeout in nanoseconds may be queried by calling glGet() with the parameter GL_MAX_SERVER_WAIT_TIMEOUT. There is currently no way to determine whether glWaitSync unblocked because the timeout expired or because the sync object being waited on was signaled. If an error occurs, glWaitSync does not cause the GL server to block. NOTES
glWaitSync is available only if the GL version is 3.2 or higher. ERRORS
GL_INVALID_OPERATION is generated if sync is not the name of a sync object. GL_INVALID_VALUE is generated if flags is not zero. GL_INVALID_VALUE is generated if timeout is not GL_TIMEOUT_IGNORED. SEE ALSO
glFenceSync(), glClientWaitSync() COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. NOTES
1. flags and timeout are placeholders for anticipated future extensions of sync object capabilities. They must have these reserved values in order that existing code calling glWaitSync operate properly in the presence of such extensions. OpenGL 3.3 03/08/2011 GLWAITSYNC(3G)

Check Out this Related Man Page

GLDELETESYNC(3G)						    OpenGL 3.3							  GLDELETESYNC(3G)

NAME
glDeleteSync - delete a sync object C SPECIFICATION
void glDeleteSync(GLsync sync); PARAMETERS
sync The sync object to be deleted. DESCRIPTION
glDeleteSync deletes the sync object specified by sync. If the fence command corresponding to the specified sync object has completed, or if no glWaitSync() or glClientWaitSync() commands are blocking on sync, the object is deleted immediately. Otherwise, sync is flagged for deletion and will be deleted when it is no longer associated with any fence command and is no longer blocking any glWaitSync() or glClientWaitSync() command. In either case, after glDeleteSync returns, the name sync is invalid and can no longer be used to refer to the sync object. glDeleteSync will silently ignore a sync value of zero. NOTES
glSync is only supported if the GL version is 3.2 or greater, or if the ARB_sync extension is supported. ERRORS
GL_INVALID_VALUE is generated if sync is neither zero or the name of a sync object. SEE ALSO
glFenceSync(), glWaitSync(), glClientWaitSync() COPYRIGHT
Copyright (C) 2010 Khronos Group. This material may be distributed subject to the terms and conditions set forth in the Open Publication License, v 1.0, 8 June 1999. http://opencontent.org/openpub/. OpenGL 3.3 03/08/2011 GLDELETESYNC(3G)
Man Page

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

rdist help 'parameter list too long'

I am trying to use the rdis command to keep a DR server in sync with our production server. My problem is that one of my directories has over 8 thousand files in it (and growing buy 300 per month) and when I execute it, it complains about 'parameter list too long'. All of the files in the... (5 Replies)
Discussion started by: hedrict
5 Replies

2. UNIX for Advanced & Expert Users

Does sync(2) block writes until completed?

Gentle readers, I am trying to observe system behavior on our RHEL 5.2 machines. I notice that, it appears to me, based on random iterations of dd if=/dev/zero of=/var/tmp/bigfile bs=1024 count=20000 ...that if the pdflush is flushing buffers at the time of my write, my write will take... (4 Replies)
Discussion started by: mschwage
4 Replies

3. Shell Programming and Scripting

Cleaning up Arrays with duplicate values

Hey Gang! So I have two Arrays. @linecount and @hit. Now these arrays contain numbers which I'm using as line placeholders on files. I need these two arrays to sync up and not repeat a number. Here are the contents (spam alert) @linecount 1 28 53 86 87 88 89 90 91 92 93 94 (5 Replies)
Discussion started by: adelsin
5 Replies

4. UNIX for Advanced & Expert Users

How to Sync two servers

Hi All, want to sync. two servers , both are having solaris os. If am updating any thing in one server , it will automatically sync. with the other server . Is it possible , if so den how ? (3 Replies)
Discussion started by: natraj005
3 Replies

5. UNIX for Dummies Questions & Answers

SCP Connection Timeout

Hello UNIX users, Thanks for helping me in my earlier post. Now, I am facing a timeout issue when ever I am transferring a zipped file from my server to client's server. If the zipped file size is below 3 MB, it goes fine. Anything above that fails. Below is the part of screenshot from... (1 Reply)
Discussion started by: st3636
1 Replies

6. UNIX for Dummies Questions & Answers

Having a problem with the time sync from Solaris 10 to VirtualBox

I have a VirtualBox w2008r2 Domain Controller running on a Solaris 10 server. I have the time on the Virtual machine set to Default time sync (bios clock) and the Solaris server set to sync to 0 8,20 * * * /usr/sbin/ntpdate tick.usno.navy.mil tock.usno.navy.mil >> /tmp/ntp.log My problem is... (2 Replies)
Discussion started by: SIFT3R
2 Replies

7. Red Hat

Best way to sync time on a Linux machine

I wanted to know which should be the best way to sync time for a linux machine. We have an application server and a database server, both using RHEL 5.8 as the OS. It is important that the time on both these servers match together and also sync with a common time source. As per my knowledge, these... (11 Replies)
Discussion started by: RHCE
11 Replies

8. AIX

HACMP - two nodes - take too long to sync

HI Admin, I have running 2 node HACMP cluster- AIX 6.1. I just set it up. It does sync completely without any errors. But it take too long to sync. More than 30 mins... any reasons? Where can I start looking into ? Same network, same Subnet (1 Reply)
Discussion started by: snchaudhari2
1 Replies

9. Red Hat

How to sync time with bios in rhel7?

Hi All, I deployed the rhel7 server in the bare metal hardware. I want to configure the rhel7 server to sync time with bios. I tired the below commands. Still it did not sync the time with bios. Thanks, Kalai (3 Replies)
Discussion started by: kalpeer
3 Replies

10. AIX

GPS Clock Not Synchronised

Hi guys, I got some error on my application server mentioning that gps clock not sync to my db server. what is the command to check is my server is sync with the gps clock? appreciate if you guys can let me know how to troubleshoot this problem. Thanks (1 Reply)
Discussion started by: leecopper
1 Replies