GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SG_LOCK_MUTEX (3)

NAME

sg_lock_mutex, sg_unlock_mutex - guard not MT-safe system API

CONTENTS

Synopsis
Description
Website

SYNOPSIS

#include <statgrab.h>

sg_error sg_lock_mutex \kx (char const *mutex_name);

sg_error sg_unlock_mutex \kx (char const *mutex_name);

DESCRIPTION

RETURN VALUES

Both functions return a statgrab error code.

error code: SG_ERROR_NONE
description: No error

error code: SG_ERROR_INVALID_ARGUMENT
description: Unknown name for mutex

error code: SG_ERROR_MUTEX_LOCK
description: thread library error, error code is set with the delivered value

error code: SG_ERROR_MUTEX_UNLOCK
description: thread library error, error code is set with the delivered value

SEE ALSO

statgrab(3)

WEBSITE

\(lahttp://www.i-scream.org/libstatgrab/\(ra
Search for    or go to Top of page |  Section 3 |  Main Index


i-scream SG_LOCK_MUTEX (3) 2013-06-07

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.