*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages              
Title
Content
Arch
Section
 
 uscas(3p) -- compare and swap operator
    uscas emulates a hardware compare and swap instruction. It works on both single and multi-processor machines. The exact algorithm used depends on the chip and system type. uscas checks that the contents of destp are equal to old and if they are, atomically changes the contents of destp to new. If the contents are not the same, a zero is returned and the operation may be repeated. Note that even with one process performing this algorithm, the compare and swap operation may fail, so the caller mus...
 f90/uscctc(3) -- Converts EBCDIC character data to ASCII character data, and vice versa
    UNICOS, UNICOS/mk, and IRIX systems
 usclosepollsema(3p) -- detach a file descriptor from a pollable semaphore
    usclosepollsema detaches the file descriptor associated with sema. In addition to closing the caller's file descriptor, it invalidates and closes any file descriptors used by other processes using the same semaphore and in the same share group as the caller (assuming of course that the share group is sharing file descriptors). usclosepollsema will fail if one or more of the following are true: [EBADF] The file descriptor for the semaphore has somehow been already invalidated. This implies a cor...
 usconfig(3p) -- semaphore and lock arena configuration operations
    usconfig is used to configure the use of semaphores and locks. Some of these options set configurable parameters to be used on the next usinit(3P), others give back information about a particular arena. In the discussion below, arguments to usconfig are numbered starting from 1, thus the first argument refers to cmd. Many of the options require an arena pointer which is the value returned by a successful call to usin
 uscpsema(3p) -- conditionally acquires a semaphore
    uscpsema attempts to acquire the semaphore specified by sema. If the semaphore is not available (its count is less than zero), uscpsema returns immediately with an indication that the semaphore is not available.
 usctllock(3p) -- lock control operations
    usctllock provides a variety of lock control operations as specified by cmd. Metering and debugging information is available only for locks allocated from an arena with a lock type of either US_DEBUG or US_DEBUGPLUS (see usconfig(3P)). Some cmds take a third argument referred to below as arg. The following cmds are available: CL_METERFETCH Fills the lockmeter_t structure pointed to by arg with the metering data associated with lock. CL_METERRESET Reinitializes the lockmeter_t structure associate...
 usctlsema(3p) -- semaphore control operations
    usctlsema provides a variety of semaphore control operations as specified by cmd. The following cmds are available: CS_METERON Enable metering for the semaphore specified by sema. The metering information gathered consists of the number of uspsema and uscpsema calls, the number of times the semaphore could immediately be acquired, the number of usvsema calls, the number of times usvsema was called and no process was queued waiting, the current number of processes waiting on the semaphore, and th...
 usdumplock(3p) -- dump out information about a specific lock
    usdumplock dumps information about lock in a readable form. This information is written to the file descriptor given by fd. The information printed includes where in memory the lock resides, whether it is locked or free, and the metering and debugging information (see usctllock(3P)). The argument str is simply printed as a string, and can be used to aid in identifying where usdumplock was called from....
 usdumpsema(3p) -- dump out information about a specific semaphore
    usdumpsema dumps information about sema in a readable form. This information is written to the file descriptor given by fd. The information printed includes where in memory the semaphore resides, what its count is, and the metering and debugging information (see usctlsema(3P)). The argument str is simply printed as a string, and can be used to aid in identifying where usdumpsema was called from.
 perl5/User::grent(3) -- by-name interface to Perl's built-in getgr*() functions
    This module's default exports override the core getgrent(), getgruid(), and getgrnam() functions, replacing them with versions that return "User::grent" objects. This object has methods that return the similarly named structure field name from the C's passwd structure from grp.h; namely name, passwd, gid, and members (not mem). The first three return scalars, the last an array reference. You may also import all the structure fields directly into your namespace as regular variables using the ...
 perl5/User::pwent(3) -- by-name interface to Perl's built-in getpw*() functions
    This module's default exports override the core getpwent(), getpwuid(), and getpwnam() functions, replacing them with versions that return "User::pwent" objects. This object has methods that return the similarly named structure field name from the C's passwd structure from pwd.h; namely name, passwd, uid, gid, quota, comment, gecos, dir, and shell. You may also import all the structure fields directly into your namespace as regular variables using the :FIELDS import tag. (Note that this stil...
 usfreelock(3p) -- free a lock
    usfreelock frees all memory associated with the lock specified by lock. usfreelock will cause unpredictable results if lock is not a valid lock.
 usfreepollsema(3p) -- free a pollable semaphore
    usfreepollsema frees the previously allocated pollable semaphore (via usnewpollsema(3P)) specified by sema. Before freeing a pollable semaphore all the file descriptors acquired for the semaphore must be closed. For processes in a single share group, all of which are sharing file descriptors, if one process calls usclospollsema(3P), all the file descriptors for all processes will be closed. If there are processes in the share group that are not sharing f...
 usfreesema(3p) -- free a semaphore
    usfreesema frees the previously allocated semaphore (via usnewsema(3P)) specified by sema. Semaphores allocated via usnewpollsema(3P) should be freed using usfreespollsema(3P).
 usgetinfo(3p) -- exchange information though an arena
    When unrelated processes decide to share an arena, it is often useful to be able to initially communicate the location of various data structures within the arena. A single word (doubleword in 64 bit mode) communication area is available inside the arena header block, accessible via the functions usgetinfo and usputinfo. Thus, a process that sets up the arena can initialize various locks, semaphores, and common data structures, and place a single pointer that any process that joins the arena can...
<<  [Prev]  245  246  247  248  249  250  251  252  253  254  255  256  257  258  259  260  261  262  263  264  265  
266  267  268  269  270  271  272  273  274  275  276  277  278  279  280  281  282  283  284  285  [Next]  >>
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service