05-04-2012
8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear experts,
I have a local computer and remote computer (only sftp accessed).
I want to delete files x and y in both local and remote computer using the following automated script:
sftp $remote > /dev/null < mdel.file
the file mdel.file has been pre-created, and its content is
cd... (2 Replies)
Discussion started by: boyin.huang
2 Replies
2. Programming
Hi,
I have a daq program that runs in an infinite loop until it receives SIGINT. A handler catches the signal and sets a flag to stop the while loop. After the loop some things have to be cleaned up.
The problem is that I want my main while loop to wait until the next full second begins, to... (2 Replies)
Discussion started by: soeckel
2 Replies
3. Red Hat
an update of RHEL 5.1 via yum was interrupted after installing the following packages.
Running Transaction
Updating : libgcc #####################
Updating : setup #####################
Updating : filesystem ... (4 Replies)
Discussion started by: egrotjahn
4 Replies
4. UNIX for Advanced & Expert Users
Hi All
I'm using arecord to record directly to a USB key:
arecord -f cd > /mnt/usb/myfile.wav
But I see buffer overruns at 30 second intervals, which correspond with short bursts of USB write activity.
I'm assuming this is related to:
/proc/sys/vm/dirty_expire_centiseconds
And the... (0 Replies)
Discussion started by: bucksbell
0 Replies
5. Shell Programming and Scripting
..........................................................................................................................
03:40 Geonetric File from CCL Complete 03:40:59 03:41:08 00:00:09 00:00:01 N/A
005 sys_runccl ... (7 Replies)
Discussion started by: Daniel Gate
7 Replies
6. Windows & DOS: Issues & Discussions
I was installing cygwin on my Windows 7 desktop. I guess I picked a bad mirror site because the download speed was very slow and it wasn't able to give me all the packages I wanted.
I closed the setup in too much haste. I think it was still downloading and not yet installing though. It said that... (1 Reply)
Discussion started by: ethoma7329
1 Replies
7. OS X (Apple)
Have had hidden/interrupted folder.
It is on a NTFS-partition I use for OS and Bootcamp.
I think that the problem is a HFS+ problem.
I happened with all the folder which had a slash "/" in their folder name.
So for example I had the folder "test/rand".
Recently it disappeared from finder. In... (9 Replies)
Discussion started by: sceltecs
9 Replies
8. UNIX for Dummies Questions & Answers
I had to stop a pigz (parallel gzip) compression before it completed. Is the original uncompressed file changed/corrupted?
I was under the impression that the original file is not changed during compression, though it is deleted if the compression is successful. (1 Reply)
Discussion started by: colin123
1 Replies
LEARN ABOUT DEBIAN
selrecord
SELRECORD(9) BSD Kernel Developer's Manual SELRECORD(9)
NAME
selrecord, selwakeup -- record and wakeup select requests
SYNOPSIS
#include <sys/param.h>
#include <sys/selinfo.h>
void
selrecord(struct thread *td, struct selinfo *sip);
void
selwakeup(struct selinfo *sip);
DESCRIPTION
selrecord() and selwakeup() are the two central functions used by select(2), poll(2) and the objects that are being selected on. They handle
the task of recording which threads are waiting on which objects and the waking of the proper threads when an event of interest occurs on an
object.
selrecord() records that the calling thread is interested in events related to a given object. If another thread is already waiting on the
object a collision will be flagged in sip which will be later dealt with by selwakeup().
selrecord() acquires and releases sellock.
selwakeup() is called by the underlying object handling code in order to notify any waiting threads that an event of interest has occurred.
If a collision has occurred, selwakeup() will increment nselcoll, and broadcast on the global cv in order to wake all waiting threads so that
they can handle it. If the thread waiting on the object is not currently sleeping or the wait channel is not selwait, selwakeup() will clear
the TDF_SELECT flag which should be noted by select(2) and poll(2) when they wake up.
The contents of *sip must be zeroed, such as by softc initialization, before any call to selrecord() or selwakeup(), otherwise a panic may
occur. selwakeup() acquires and releases sellock and may acquire and release sched_lock.
SEE ALSO
poll(2), select(2)
AUTHORS
This manual page was written by Chad David <davidc@FreeBSD.org> and Alfred Perlstein <alfred@FreeBSD.org>.
BSD
June 13, 2007 BSD