07-15-2002
10 More Discussions You Might Find Interesting
1. IP Networking
I just installed solaris 8 on my comp....NIC was recognized at startup so it's allrite...
for hostname I so far put hostname
and for the IP I put in the 192.168.0.XX
can anyone instruct me step by step on what I should change and how about would I go seeting up the dsl connection ...
... (2 Replies)
Discussion started by: czoka
2 Replies
2. UNIX for Advanced & Expert Users
How do I configure my Solaris system to connect to internet thro Linksys DSL Router?
Thanks in adavnce. (9 Replies)
Discussion started by: praveenk
9 Replies
3. Shell Programming and Scripting
Hi,
I'm using Damn Small Linux 2.3, could you tell me which script starts up the browser when fluxbox loads?
Thanks
C19 (0 Replies)
Discussion started by: c19h28O2
0 Replies
4. UNIX for Advanced & Expert Users
Hi
can any one point me to a procdure to add lang to dsl os (Damn Small Linux )
TU :) (0 Replies)
Discussion started by: lione.heart
0 Replies
5. Shell Programming and Scripting
Hi
can any one point me to a procdure to add lang to dsl os (Damn Small Linux )
TU
:) (2 Replies)
Discussion started by: lione.heart
2 Replies
6. Linux
ive been playing around in dsl (damn small linux) live for some time and i love the simplicity of it. but when i go into cfdisk to partition my hard drive, it says like
"Fatal Error:Does not have permission"
i am trying out Xandros desktop os 2.0 right now on my laptop. Can some one help me... (4 Replies)
Discussion started by: Texasone
4 Replies
7. UNIX for Dummies Questions & Answers
I'm trying to instal dsl to hd ,but cfdisk comand returns an error.
dmesg | grep hda returns :
Optarac DVD RW AD-7530B, ATAPI CD/DVD-rom drive
attached ide-scsi driver
So i figure that is the problem.Right?
What should i do? (1 Reply)
Discussion started by: SNAk55
1 Replies
8. Linux
I'm trying to instal dsl to hd ,but cfdisk comand returns an error.
dmesg | grep hda returns :
Optarac DVD RW AD-7530B, ATAPI CD/DVD-rom drive
attached ide-scsi driver
So i figure that is the problem.Right?
What should i do? (9 Replies)
Discussion started by: SNAk55
9 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I downloaded the DSL Linux, I am able to boot and work on it. But I want to install this on my old laptop. How do I do that? Please advise.
Thanks. (1 Reply)
Discussion started by: samnyc
1 Replies
10. SCO
I have a dual boot computer with Windows 7 Pro 64 on one drive and SCO OpenServer 5.0.7 on another drive. The DSL modem works perfectly on the Windows side; I can input the gateway and DNS address 192.168.1.1 in Windows network configuration.
On the UNIX side, I created the /etc/resolv.conf... (8 Replies)
Discussion started by: Transpower
8 Replies
LEARN ABOUT NETBSD
workqueue_create
WORKQUEUE(9) BSD Kernel Developer's Manual WORKQUEUE(9)
NAME
workqueue -- simple do-it-in-thread-context framework
SYNOPSIS
#include <sys/workqueue.h>
int
workqueue_create(struct workqueue **wqp, const char *name, void (*func)(struct work *, void *), void *arg, pri_t prio, int ipl, int flags);
void
workqueue_enqueue(struct workqueue *wq, struct work *wk, struct cpu_info *ci);
void
workqueue_destroy(struct workqueue *wq);
DESCRIPTION
The workqueue utility routines are provided to defer work which is needed to be processed in a thread context.
workqueue_create() creates a workqueue. It takes the following arguments:
wqp Specify where to store the created workqueue.
name The name of the workqueue.
func The function to be called for each work.
arg An argument to be passed as a second argument of func.
prio The priority level for the worker threads.
ipl The highest IPL at which this workqueue is used.
flags The value of 0 indicates a standard create operation, however the following flags may be bitwise ORed together:
WQ_MPSAFE Specifies that the workqueue is multiprocessor safe and does its own locking, otherwise the kernel lock will be held while
work will be processed.
WQ_PERCPU Specifies that the workqueue should have a separate queue for each CPU, thus the work could be enqueued on concrete CPUs.
workqueue_enqueue() enqueues the work wk into the workqueue wq.
If the WQ_PERCPU flag was set on workqueue creation, the ci argument may be used to specify the CPU on which the work should be enqueued.
Also it may be NULL, then work will be enqueued on the current CPU. If WQ_PERCPU flag was not set, ci must be NULL.
The enqueued work will be processed in a thread context. A work must not be enqueued again until the callback is called by the workqueue
framework.
workqueue_destroy() destroys a workqueue and frees associated resources. The caller should ensure that the workqueue has no work enqueued
beforehand.
RETURN VALUES
workqueue_create() returns 0 on success. Otherwise, it returns an errno(2).
CODE REFERENCES
The workqueue subsystem is implemented within the file sys/kern/subr_workqueue.c.
SEE ALSO
callout(9), condvar(9), kthread(9), softint(9)
BSD
October 24, 2011 BSD