09-06-2011
Please provide details on what you mean.
9 More Discussions You Might Find Interesting
1. AIX
I'm stuck - when I boot the machine and hit 5 on the keyboard, all I get is an SP login. Can someone give me some tips on how to get to the install via the serial port? (2 Replies)
Discussion started by: tb0ne
2 Replies
2. HP-UX
I have a HP Visualize C200 running hpux that I am trying to boot into using a null modem through com1 from my Sun Ultra 10. I get all the way to the login prompt and then it becomes innactive and wont let me access the machine anymore. Any ideas? (2 Replies)
Discussion started by: trajek
2 Replies
3. Solaris
Hi
I have a stupid problem with ultra 5 console connection.
I can't connect to serial port with my laptop.
I made these configurations from ok prompt:
OK setenv input-device ttya
OK setenv output-device ttya
OK setenv auto-boot? false
I tried to connect to machine with cisco rollover... (5 Replies)
Discussion started by: noizer`
5 Replies
4. OS X (Apple)
I'm trying to use an old Commodore 128D as a terminal to access OS X's shell via a serial port. I've used 'screen' and 'zterm' to ensure the two machines are successfully interfaced.
Instructions for opening up the serial console on other Unix-y operating systems don't work with OS X Leopard. ... (3 Replies)
Discussion started by: joecassara
3 Replies
5. Solaris
Hi. I am very very new to Solaris. I found an abandoned Sun Blade 150. I created a 3-wire null modem cable, connected it to an abandoned laptop and successfully installed Solaris 10 using the serial port. This laptop doesn't have ethernet. So I want to establish a PPP connection.
Part of the... (2 Replies)
Discussion started by: neutronscott
2 Replies
6. UNIX for Dummies Questions & Answers
Hi Gurus,
Can some one explain me the difference between a IP console and a serial console. (1 Reply)
Discussion started by: rama krishna
1 Replies
7. Solaris
I am battling to get a V890 up and running. The system appears to have AUTOBOOT=false, so no OS comes up when it's powered on, and I do not have the credentials to get to the RSC management console. Output to ttya serial console ends at "Probing I/O buses", I assume because output is then being... (4 Replies)
Discussion started by: dstmark
4 Replies
8. Solaris
i am running solaris 10 in my vmware workstation. How to setup a console for my solaris box. in Vmware i could see a serial port option. can some one help me on how i can setup a console . (0 Replies)
Discussion started by: chidori
0 Replies
9. Solaris
Hi Experts.
i have been stuck up with an issue.
i have connected my Solaris 8 , Sun fire V445 on serial port by using Teraterm.
Initially i was able to login and executed some tasks.
After executing some commands (mainly Control +c), i am not able to type any key or not able to do anything at... (2 Replies)
Discussion started by: siddulamadhu
2 Replies
LEARN ABOUT SUNOS
atomic_ops
atomic_ops(3C) atomic_ops(3C)
NAME
atomic_ops - atomic operations
SYNOPSIS
#include <atomic.h>
This collection of functions provides atomic memory operations. There are 8 different classes of atomic operations:
atomic_add(3C) These functions provide an atomic addition of a signed value to a variable.
atomic_and(3C) These functions provide an atomic logical 'and' of a value to a variable.
atomic_bits(3C) These functions provide atomic bit setting and clearing within a variable.
atomic_cas(3C) These functions provide an atomic comparison of a value with a variable. If the comparison is equal, then swap in a new
value for the variable, returning the old value of the variable in either case.
atomic_dec(3C) These functions provide an atomic decrement on a variable.
atomic_inc(3C) These functions provide an atomic increment on a variable.
atomic_or(3C) These functions provide an atomic logical 'or' of a value to a variable.
atomic_swap(3C) These functions provide an atomic swap of a value with a variable, returning the old value of the variable.
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
atomic_add(3C), atomic_and(3C), atomic_bits(3C), atomic_cas(3C), atomic_dec(3C), atomic_inc(3C), atomic_or(3C), atomic_swap(3C), mem-
bar_ops(3C), attributes(5)
Atomic instructions ensure global visibility of atomically-modified variables on completion. In a relaxed store order system, this does
not guarantee that the visibility of other variables will be synchronized with the completion of the atomic instruction. If such synchro-
nization is required, memory barrier instructions must be used. See membar_ops(3C).
Atomic instructions can be expensive. since they require synchronization to occur at a hardware level. This means they should be used with
care to ensure that forcing hardware level synchronization occurs a minimum number of times. For example, if you have several variables
that need to be incremented as a group, and each needs to be done atomically, then do so with a mutex lock protecting all of them being
incremented rather than using the atomic_inc(3C) operation on each of them.
12 Aug 2004 atomic_ops(3C)