Displaying 20 results from an estimated 43 matches for "setpriority".
2010 Dec 25
4
[ win32utils-Bugs-28801 ] unclosed handle in Process.setpriority/getpriority
...02
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=28801&group_id=85
Category: win32-process
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Rafa? Michalski (royaltm)
Assigned to: Nobody (None)
Summary: unclosed handle in Process.setpriority/getpriority
Initial Comment:
Using Process.setpriority/getpriority was crashing my ruby program.
I think the problem was with unclosed handle from OpenProcess() function.
my patch for lib/win32/process.rb (0.6.4) follows, however the bug exists also in previous releases.
---------------------...
2001 Dec 19
0
Patch for DU SIA auth
...ity_pwd failed");
exit(1);
}
! __sia_ent->authtype = SIA_A_NONE;
! if (sia_ses_estab(sia_collect_trm, __sia_ent) != SIASUCCESS) {
error("couldn't establish session for %s from %s", user,
host);
exit(1);
***************
*** 85,106 ****
}
if (setpriority(PRIO_PROCESS, 0, 0) == -1) {
! sia_ses_release(&ent);
error("setpriority failed: %s", strerror (errno));
exit(1);
}
! if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS) {
error("couldn't launch session for %s from %s", user, host);
exit(1);...
2006 Feb 27
1
Problems dialing to another Asterisk server
...Manager-java code is :
originateAction.setChannel("Local/16007@mariaSIP/n");
originateAction.setCallerId("asterisk");
originateAction.setCallingPres(new Boolean(true));
originateAction.setContext("mariaSIP");
originateAction.setExten("222");
originateAction.setPriority(nPriority);
originateAction.setTimeout(nTimeout);
originateResponse = managerConnection.sendAction(originateAction, 30000);
if(originateResponse.getResponse().equals("Success"))
{
setVarAction.setVariable("STRING3");
setVarAction.setValue("SIP/6020");
originat...
2001 Apr 13
0
Fixed patch for Digital Unix SIA
...if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS)
- fatal("couldn't establish session for %s from %s", user,
+ if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS) {
+ error("couldn't establish session for %s from %s", user,
host);
+ exit(1);
+ }
if (setpriority(PRIO_PROCESS, 0, 0) == -1) {
sia_ses_release(&ent);
- fatal("setpriority failed: %s", strerror (errno));
+ error("setpriority failed: %s", strerror (errno));
+ exit(1);
}
- if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS)
- fatal("couldn't launch s...
2011 Jun 16
1
1.0.14 error on Windows-XP
Hi...
Tinc v1.0.13 works fine on Windows XP but Tinc v1.0.14 shows only an error
message (tinc -n xxx -d5 -D). The error message is "System command
'setpriority' failed. Command not found"...
Any suggestions ?
Kind regards,
Michael
2008 Mar 03
3
processus
Salut Alex.
Peut tu me conseiller pour que je puisse renomer le processus et changer la priorité de mon application.
merci.
sebastien
http://beusse.liveror.com/
_______________________________________________
wxruby-users mailing list
wxruby-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/wxruby-users
2010 Jul 17
1
AGI execution after Dial
...possible to use the CONSOLE
(somehow like console dial number) channel to originate calls? This might be
a solution.
action.setChannel("SIP/99051000XXXXXX");
action.setCallerId("99051000XXXXXX");
action.setContext("autodialer");
action.setExten("1");
action.setPriority(new Integer(1));
action.setVariable("numero", "5555555");
Then, I figured I could place the calls from within an AGI script.
Obviously, I
got stuck again. Now, when I execute the application Dial, the script
pauses until the called party hangs up. This behavior is expected but...
2006 Mar 17
1
[PATCH] OpenSSL RNG initialization
...configure.in 10 Mar 2006 17:15:01 -0000
@@ -358,7 +358,8 @@
AC_CHECK_FUNCS(fcntl flock lockf inet_aton sigaction getpagesize
madvise \
strcasecmp stricmp vsnprintf vsyslog writev pread \
setrlimit setproctitle seteuid setreuid setegid setresgid \
- strtoull strtouq setpriority quotactl getmntent kqueue kevent)
+ strtoull strtouq setpriority quotactl getmntent kqueue kevent \
+ getrusage)
dnl * I/O loop function
have_ioloop=no
Index: src/lib/lib.h
===================================================================
RCS file: /home/cvs/dovecot/src/lib/lib.h...
2002 Sep 04
2
uid transition and post-auth privsep (WAS Re: possible fundamental problem with tru64 patch) (fwd)
...uot;sia_make_entity_pwd failed");
> }
>
> ent->authtype = SIA_A_NONE;
> - if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS) {
> - fatal("Couldn't establish session for %s from %s", user,
> - host);
> - }
> -
> - if (setpriority(PRIO_PROCESS, 0, 0) == -1) {
> - sia_ses_release(&ent);
> - fatal("setpriority: %s", strerror (errno));
> - }
> + if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS)
> + fatal("Couldn't establish session for %s from %s",
> + pw-&g...
2015 Aug 06
3
Asterisk uses "Anonymous", but why?
...is);
> originateAction = new OriginateAction();
> originateAction.setChannel("SIP/"+ani);
> originateAction.setContext("from-pstn");
> originateAction.setExten(????);
> originateAction.setPriority(new Integer(1));
> originateAction.setCallerId("murthy");
> originateAction.setTimeout(new Integer(30000));
>
> // connect to Asterisk and log in
> managerConnection.login();
>
> // send t...
2015 Aug 06
4
Asterisk uses "Anonymous", but why?
On Thu, Aug 6, 2015 at 11:56 AM, Murthy Gandikota <murthy64 at hotmail.com>
wrote:
> Tested with X-Lite and it worked fiine. Is there some way to replace
> "Anonymous" with a config parameter?
>
> Thanks for your kind help
>
> ----------------------------------------
> > From: murthy64 at hotmail.com
> > To: asterisk-users at lists.digium.com
>
2003 Feb 27
0
Update for Tru64 Unix
...ent) != SIASUCCESS) {
sia_ses_release(&ent);
fatal("sia_make_entity_pwd failed");
}
ent->authtype = SIA_A_NONE;
- if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS) {
- fatal("Couldn't establish session for %s from %s", user,
- host);
- }
-
- if (setpriority(PRIO_PROCESS, 0, 0) == -1) {
- sia_ses_release(&ent);
- fatal("setpriority: %s", strerror (errno));
- }
+ if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS)
+ fatal("Couldn't establish session for %s from %s",
+ pw->pw_name, host);
- if (sia_ses_launch(s...
2003 Apr 10
1
Writing a DVD
...utput of cdrecord-ProDVD.
Thanks, any help appreciated,
-- Tom
Cdrecord 2.0 (i386-unknown-freebsd4.8) Copyright (C) 1995-2002 Jörg Schilling
TOC Type: 1 = CD-ROM
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: WARNING: This causes a high risk for buffer underruns.
scsidev: '1,0,0'
scsibus: 1 target: 0 lun: 0
Using libscg version 'schily-0.7'
atapi: 0
Device type : Removable CD-ROM
Version : 0
Response Format: 2
Capabilities :
Vendor_info : 'SONY '
I...
2013 Jan 21
6
the at command
I was trying to use the 'at' command.
Does it not have "resolution" to the second?
When I run it with 'at -f /tmp/tt.sh "01/21/2013 15:20:45"
syntax error. Last token seen: 15:20
Garbled time
How do I run a command in the future including "seconds".
Thanks,
Jerry
2002 Jun 29
0
Privsep for osf/1 .. still need a bit of help
...ia_ses_release(&ent);
@@ -100,25 +99,22 @@
}
ent->authtype = SIA_A_NONE;
- if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS) {
+ if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS)
fatal("Couldn't establish session for %s from %s", user,
host);
- }
if (setpriority(PRIO_PROCESS, 0, 0) == -1) {
sia_ses_release(&ent);
fatal("setpriority: %s", strerror (errno));
}
- if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS) {
+ if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS)
fatal("Couldn't launch session for %s from %s&qu...
2000 Oct 15
1
Patch for Digital Unix SIA authentication
A while back, I sent in a patch that added Digital Unix SIA
authentication to OpenSSH. Well, I just figured out that it didn't
handle everything correctly (locked accounts could still log in). I
thought I had checked that, but I guess I missed it.
Anyway, here is a patch against OpenSSH 2.2.0p1 that fixes this.
--
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator
2002 Jun 28
0
Newer OSF patch.
...ia_ses_release(&ent);
@@ -100,25 +99,22 @@
}
ent->authtype = SIA_A_NONE;
- if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS) {
+ if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS)
fatal("Couldn't establish session for %s from %s", user,
host);
- }
if (setpriority(PRIO_PROCESS, 0, 0) == -1) {
sia_ses_release(&ent);
fatal("setpriority: %s", strerror (errno));
}
- if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS) {
+ if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS)
fatal("Couldn't launch session for %s from %s&qu...
2002 Aug 01
0
Tru64 and OSF/1 Privsep patch
...a_ses_release(&ent);
@@ -100,25 +101,24 @@
}
ent->authtype = SIA_A_NONE;
- if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS) {
+ if (sia_ses_estab(sia_collect_trm, ent) != SIASUCCESS)
fatal("Couldn't establish session for %s from %s", user,
host);
- }
if (setpriority(PRIO_PROCESS, 0, 0) == -1) {
sia_ses_release(&ent);
fatal("setpriority: %s", strerror (errno));
}
- if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS) {
+ if (sia_ses_launch(sia_collect_trm, ent) != SIASUCCESS)
fatal("Couldn't launch session for %s from %s&qu...
2014 Jul 11
0
Wine release 1.7.22
...ai Meng (2):
vbscript: Implemented VarType.
vbscript: Implemented Sgn.
Stefan D?singer (8):
wined3d: Set palettes on the swapchain.
wined3d: Do not write a FIXME about WINED3DUSAGE_WRITEONLY.
ddraw: Refuse SetPalette and GetPalette on lost surfaces.
d3d9: Ignore SetPriority and GetPriority calls on surfaces.
wined3d: Ignore set_priority calls on non-managed resources.
d3d9/tests: Add a test for SetPriority and GetPriority.
d3d8/tests: Add a test for SetPriority and GetPriority.
d3d9/tests: Fix some ok() call style issues.
Vincent Povirk (7):...
2015 Aug 06
2
Asterisk uses "Anonymous", but why?
...t; >
> > managerConnection.addEventListener(this);
> > originateAction = new OriginateAction();
> > originateAction.setChannel("SIP/"+ani);
> > originateAction.setContext("from-pstn");
> > originateAction.setExten(????);
> > originateAction.setPriority(new Integer(1));
> > originateAction.setCallerId("murthy");
> > originateAction.setTimeout(new Integer(30000));
> >
> > // connect to Asterisk and log in
> > managerConnection.login();
> >
> > // send the originate action and wait for a maximum of...