9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
So, I wanted to see if I could just use X without a desktop. I installed Debian from a netinstall on a vm and installed xorg with apt. Logged in as a normal user with startx and had a big black background. Seemed like everything was working as expected, so I went to configure tint2 at start up. I... (3 Replies)
Discussion started by: Azrael
3 Replies
2. Shell Programming and Scripting
Hi Experts,
Can anyone suggest me kindly, whether designing some small GUI applications are possible in shell scripting.....
Like a small calculator kind of stuff.......
I fit is possible guide me with some examples.
Thanks,
Newbie....... (0 Replies)
Discussion started by: kritibalu
0 Replies
3. Linux
Hello
Im stuck with a project on converting existing applications in to their portable versions, What i mean is that i want an application to run on a Linux OS without the need of actually installing the application on that machine. My preffered OS is fedora as it is used on most machines in my... (1 Reply)
Discussion started by: engineeringme
1 Replies
4. Shell Programming and Scripting
Hi,
I am developing a script that invokes a program, and that program is going to prompt for some input every now and then based on some parameters.
My script shall provide input to the program, automatically, by processing the text output by the program..
say..
when the program asks ... (3 Replies)
Discussion started by: icecoldaswin
3 Replies
5. Gentoo
I am evaluating porting solaris (apache, mysql, ssl) servers to Linux. I set up a Centos server to test out apache programs to see how they work out of the box. Now I want to recompile Apache to incorporate the options we used when compiling under Solaris.
I see posts that say never, never... (1 Reply)
Discussion started by: csross
1 Replies
6. UNIX for Advanced & Expert Users
Hello everyone, I was just wondering if there was a way to make it so that usernames could be used across applications.
For instance, I have a server that has a bunch of users. I want these users to have ways of accessing my database as well as a variety of other programs, but I don't want them... (2 Replies)
Discussion started by: gonzofish
2 Replies
7. Shell Programming and Scripting
i have to write a script that which would send mails
For all the transient apps
1. How many apps are running
2. Since when is the app running
plz help me in this...............
plz help me, its urgent,.................
plzzzzzzzzzzzzzzzzzzzzzzzzzzz (2 Replies)
Discussion started by: ali560045
2 Replies
8. UNIX for Advanced & Expert Users
Hi all,
I have some UNIX servers (all flavor to be honest: SOLARIS, AIX, HP-UX) running some applications.
I would like to publish these applications to remote client mainly running Windows XP.
I know i can remotely access the desktop thanks to Cygwin,Hummingbird EXCEED...
But I don't... (2 Replies)
Discussion started by: Platinium
2 Replies
9. UNIX for Dummies Questions & Answers
I am an Oracle DBA who has previously worked only on NT machines. I need to install Oracle on an AIX box. This Unix server has only a CRT monitor. The Oracle installation REQUIRES a graphical means of seeing the Unix machine. I've been told that I should telnet from a PC that can display X... (2 Replies)
Discussion started by: jbrax
2 Replies
Ns_Master(3aolserver) AOLserver Library Procedures Ns_Master(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
Ns_MasterLock, Ns_MasterUnlock - Enter and leave the single master critical section lock
SYNOPSIS
#include "ns.h"
void
Ns_MasterLock(void)
void
Ns_MasterUnlock(void)
_________________________________________________________________
DESCRIPTION
The single master critical section lock is used throughout the core server to protect portions of code from being run by more than one
thread at a time. These are convenience functions which actually make calls to Ns_CsEnter and Ns_CsLeave to perform the locking and unlock-
ing function.
You should not use these functions in your modules. To protect critical sections in your modules you should create and initialize your own
named locks, then wrap your critical sections with calls to Ns_CsEnter and Ns_CsLeave.
Ns_MasterLock()
Enter the single master lock. The thread that holds this lock is guaranteed exclusive access to the section of code that follows the
call to Ns_MasterLock. Other threads that attempt to enter the master critical section while another thread owns the master lock
will block until the owning thread releases the master lock.
Be extremely careful with code you place within the master critical section. If the thread that owns the master lock blocks for any
reason while in the master critical section, other threads that need to enter that section of code will block until the master lock
is released.
Ns_MasterUnlock()
Leave the single master critical section. The thread that owns the lock must release it after the critical section of code has com-
pleted so that other threads may execute the critical section code.
SEE ALSO
nsd(1), info(n), Ns_CsEnter(3), Ns_CsLeave(3)
KEYWORDS
AOLserver 4.0 Ns_Master(3aolserver)