08-19-2009
9 More Discussions You Might Find Interesting
1. HP-UX
Hey everyone this is my first post here, sure not to be my last :)
I'm working on an HP-UX (11i) machine and I'd like to add a partition to it, i need /bla/ which a certain megabyte size but i don't know how to do it, I can generally move around the os ok so im not completely illiterate,.. I... (5 Replies)
Discussion started by: emplate
5 Replies
2. Ubuntu
Hi,
I recently bought a Toshiba Tecra A8 laptop with preinstalled Vista Business license. I would like to install UBuntu 7.10 as another OS.
However, I have some doubts:-
i) I am not sure whether do the above model supports Linux/Ubuntu in terms of compatibility. So far, I googled and knew... (1 Reply)
Discussion started by: ahjiefreak
1 Replies
3. Linux
I have a laptop running on vista, I would like to install linux on it, but I dont have the disk space, so can I have external disk to install linux. Whether I will be able to do ? (2 Replies)
Discussion started by: nickdba
2 Replies
4. UNIX for Dummies Questions & Answers
I'm trying to install Solaris 10 along with Ubuntu (dual-boot system)
The problem is, GParted partition manager (Ubuntu) didn't recognize the FAT file system used to install the Solaris. It said that the block size is unknown file system..
What's the correct file system to install Solaris so... (6 Replies)
Discussion started by: frankoko
6 Replies
5. UNIX for Dummies Questions & Answers
Folks,
I need some help!
Please understand that I have searched and read tons of how-to's and other documents in researching this and getting Putty, Cygwin, and emacs running on the Vista machine.
I have a Ubuntu headless server i am trying to configure as my gateway system for the house... (3 Replies)
Discussion started by: poundjd
3 Replies
6. Ubuntu
I realize this is more a gparted concern, but am having a user name problem and not getting in to their forum.
My spouse is reaching a critical space issue in XP and needs to recapture the assigned Ubuntu space to windows.
I can delete it easy enough with gparted live CD, but am lost with... (1 Reply)
Discussion started by: 77yrold
1 Replies
7. UNIX for Dummies Questions & Answers
I have a dual boot system on my laptop running Windows 7 professional and Ubuntu 10.10. I would like my windows 7 desktop C:\users\username\Desktop and also my Ubuntu 10.10 desktop /home/username/Desktop to both save their files to the same location somewhere...perhaps /windows (a 40 gb win32... (0 Replies)
Discussion started by: Marcus Aurelius
0 Replies
8. Ubuntu
i am thinking of replacing my vista with ubuntu.
Questions:
1) what will be the advantages and disadvantages of using ubuntu instead of vista?
2) what will be the setbacks of replacing my vista?
3) how hard is it to cope up with the new OS? what must i learn to utilize ubuntu? (1 Reply)
Discussion started by: Anna Hussie
1 Replies
9. Ubuntu
Hi all- I'm getting ready to install Ubuntu onto my Sony Vaio laptop and had a few questions for which I have not yet found the answer.
1)Should I partition my hdd myself (including a swap partition) in Windows or should I do this when installing Ubuntu? When I do partition, since I have over... (2 Replies)
Discussion started by: Gatsby
2 Replies
LEARN ABOUT HPUX
xtappaddworkproc
XtAppAddWorkProc() XtAppAddWorkProc()
XtAppAddWorkProc - register a procedure to be called when the event loop is idle.
Synopsis
XtWorkProcId XtAppAddWorkProc(app_context, proc, client_data)
XtAppContext app_context;
XtWorkProc proc;
XtPointer client_data;
Inputs
app_context
Specifies the application context.
proc Specifies the procedure that is to be called when the application is idle.
client_data
Specifies data to be passed to proc when it is called.
Returns
A handle of type XtWorkProcId that can be passed to XtRemoveWorkProc() to unregister the work procedure.
Description
XtAddWorkProc() registers the procedure proc and the data client_data to be called by XtAppNextEvent() or XtAppProcessEvent() when there
are no pending input events and it would otherwise block. Multiple work procedures can be registered, and the most recently added one is
always the one that is called. However, if a work procedure itself adds another work procedure, the newly added one has lower priority
than the current one.
A work procedure returns a Boolean. If it returns True, it will automatically be unregistered and will not be called again. If it returns
False it will be called the next time the application is idle. See XtWorkProc(2) for more information.
Usage
XtAppAddWorkProc() implements a limited form of background processing. Most applications spend most of their time waiting for input; to do
useful work during this idle time, you can register a work procedure that will run when the application is idle.
A work procedure must return quickly or the application will not be able to promptly respond to user events. If a large task needs to be
done in the background, the work procedure should periodically save its state and return False. Work procedures should not be used to do
frivolous work in the background. In a multi-tasking system, an idle application should generally actually be idle, and not steal CPU time
from other processes.
A work procedure can be explicitly removed by calling XtRemoveWorkProc() with the XtWorkProcId returned by this function.
Structures
The XtWorkProcId type is defined as follows:
typedef unsigned long XtWorkProcId;
See Also
XtAppNextEvent(1), XtAppProcessEvent(1), XtRemoveWorkProc(1),
XtWorkProc(2).
Xt - Event Handling XtAppAddWorkProc()