Search Results

Search: Posts Made By: Zipi
Forum: Programming 03-20-2009
16,158
Posted By Zipi
Thanks a lot for your reply jim :) I...
Thanks a lot for your reply jim :)

I couldn't work on the code in these days,so now it's time to face the problem :)

After reading your reply and some internet resource i am pretty sure that i...
Forum: Programming 03-13-2009
2,114
Posted By Zipi
By the way....before you wonder about modality :)...
By the way....before you wonder about modality :)

I need this blocking capability because what i need is:
1)i want to copy/transfer several selected files to another location
2)if a file with...
Forum: Programming 03-13-2009
2,114
Posted By Zipi
"Blocking" message box in Motif
Hi,
i remember that when programming for Windows i used the MessageBox function,which blocked my application until the user made his/her choice.
So,that function returned only after this choice.
...
Forum: Programming 03-12-2009
16,158
Posted By Zipi
Hmm i'm sorry....what do you mean? Can you make...
Hmm i'm sorry....what do you mean? Can you make an example?

Another question:i have read somewhere that it's better not to call certain functions from within a signal handler function.What are...
Forum: Programming 03-11-2009
16,158
Posted By Zipi
"No child processes" and waitpif
Hi everybody,
i'm using a signal handler for the SIGCHLD signal.

void InstallNewSigChldHandler()
{
struct sigaction act;
struct sigaction oldAct;
act.sa_handler =...
Forum: Programming 03-01-2009
7,214
Posted By Zipi
Oops i forgot the 3rd question :) If i use...
Oops i forgot the 3rd question :)

If i use fork+exec,i get a zombie process when external program exits,which i treat with wait.
This didn't happen when i used "system" to run it.Why?
Forum: Programming 03-01-2009
7,214
Posted By Zipi
Run external program in background
Hi,
in my program i need to run an external program in background.I am aware that there are at least 2 alternatives for this:
1)fork+exec
2)system("program &");

I have read several posts about...
Forum: Programming 03-01-2009
11,484
Posted By Zipi
Ok,i just wanted to make sure if there was some...
Ok,i just wanted to make sure if there was some way to avoid the usage of a global variable/function
Forum: Programming 02-27-2009
11,484
Posted By Zipi
Handling a signal with a class member function
Hello,
i am using the sigaction function to handle the SIGCHLD signal.Is it possible to use a class member function as the handler function (the sa_handler member of the sigaction structure)?
The...
Forum: Programming 02-23-2009
3,481
Posted By Zipi
Standard UNIX functions
Hi everybody,
first of all i apologize if my thread's title doesn't make much sense,but i coudn't find a more appropriate name :)
Then i apologize about my question,which probably will sound...
Forum: Programming 02-20-2009
5,957
Posted By Zipi
Oh i'm such a newbie :) I got confused with the...
Oh i'm such a newbie :) I got confused with the niceness concept,which has a reversed logic (higher number <=> higher niceness <=> lower priority)....

About your question:i honestly don't know...
Forum: Programming 02-20-2009
5,957
Posted By Zipi
Many thanks for your reply :) The main app's...
Many thanks for your reply :)

The main app's priority is -2 with a ROUND_RR scheduling policy,and it must be run by root user,or it won't work (i cant change this).If i remember well,it's the...
Forum: Programming 02-19-2009
5,957
Posted By Zipi
An update: i found out about the "chrt" shell...
An update: i found out about the "chrt" shell command. It actually did the job:i assigned to recordmydesktop a much lower priority,and now it doesn't hang the system anymore.

But....
1)Is this...
Forum: Programming 02-19-2009
5,957
Posted By Zipi
Problem with external program launch
Hello,
in the application i'm writing i need to launch "recordmydesktop" to capture the screen,but i'm having a problem: when the recording stops,and the encoding of the saved file starts,the entire...
Showing results 1 to 14 of 14

 
All times are GMT -4. The time now is 04:53 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy