search for: openclose

Displaying 9 results from an estimated 9 matches for "openclose".

2011 Jul 26
2
python-libvirt for 0.9.3 leaking file descriptors
...ptors: root at cloud1:~# python Python 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) [GCC 4.4.5] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import libvirt >>> libvirt.getVersion() 9003 >>> def openclose(): ... c = libvirt.open('qemu:///system') ... c.close() ... >>> import os >>> os.system('lsof -p %d | wc -l' % os.getpid()) 37 >>> openclose() >>> os.system('lsof -p %d | wc -l' % os.getpid()) 40 >>> openclose() >>&...
2004 Aug 17
6
dialplan woes
...,2 ; Allow for PRI to grab info in facility exten => 6666,2,SetCallerID(Toll Free No Cpub) exten => 6666,3,BackGround(greeting) exten => 6666,4,BackGround(mainmenu) exten => 6666,5,Wait,5 exten => 6666,6,Queue(tech) exten => 1,1,SetCallerID(Toll Free No Cpub) exten => 1,2,AGI(openclose.agi) exten => 1,3,GotoIf($[${STATUS} = closed]?6:4) exten => 1,4,GotoIf($[${STATUS} = holiday]?8:10) exten => 1,5,Goto(1,10) exten => 1,6,BackGround(nighttime-greeting) exten => 1,7,Goto(4,1) exten => 1,8,BackGround(holiday-greeting) exten => 1,9,Goto(4,1) exten => 1,10,Back...
2005 Feb 24
2
Delay after entering digits with IVR
...cond, just for fun exten => s,2,Answer ; Answer the line exten => s,3,SetMusicOnHold,default exten => s,4,ResponseTimeout,5 ; Set Response Timeout ; Is is Morning, Afternoon or Evening ? ; Lets play a differnet greeting for each time period. exten => s,5,AGI(openclose.agi) exten => s,6,GotoIF($[${STATUS} = morning]?10) exten => s,7,GotoIF($[${STATUS} = afternoon]?12) exten => s,8,GotoIF($[${STATUS} = evening]?14) extex => s,9,Goto(s,6) ; The various Greetings based on Time of Day exten => s,10,Background(rjs-morning-welcome) exten => s,11,Goto...
2004 Aug 24
2
call queue help
Guys I am having some serious issues with my call queue and Management is breathing down my neck pretty bad, and I am running out of ideas. I have a single queue for my tech support department. I originally was using the AgentCallbackLogin for them and it tested out great on our testing weekends, but it hasn't worked out since. It would only let one of them take calls at a time, no matter
2015 Feb 24
4
[PATCH 1/2] nouveau: make nouveau importing global buffers completely thread-safe, with tests
...quest, ...) +{ + va_list va; + int ret; + void *arg; + + va_start(va, request); + arg = va_arg(va, void *); + ret = old_ioctl(fd, request, arg); + va_end(va); + + if (ret < 0 && request == DRM_IOCTL_GEM_CLOSE && errno == EINVAL) + failed = 1; + + return ret; +} + +static void * +openclose(void *dev) +{ + struct nouveau_device *nvdev = dev; + struct nouveau_bo *bo = NULL; + int i; + + for (i = 0; i < 100000; ++i) { + if (!nouveau_bo_prime_handle_ref(nvdev, import_fd, &bo)) + nouveau_bo_ref(NULL, &bo); + } + return NULL; +} + +int main(int argc, char *argv[]) +{ + drmVer...
2015 Feb 25
0
[PATCH 1/2] nouveau: make nouveau importing global buffers completely thread-safe, with tests
...rg(va, void *); > + ret = old_ioctl(fd, request, arg); > + va_end(va); > + > + if (ret < 0 && request == DRM_IOCTL_GEM_CLOSE && errno == EINVAL) > + failed = 1; > + > + return ret; > +} > + > +static void * > +openclose(void *dev) > +{ > + struct nouveau_device *nvdev = dev; > + struct nouveau_bo *bo = NULL; > + int i; > + > + for (i = 0; i < 100000; ++i) { > + if (!nouveau_bo_prime_handle_ref(nvdev, import_fd, &bo)) > + nou...
2015 Feb 25
1
[PATCH 1/2] nouveau: make nouveau importing global buffers completely thread-safe, with tests
...octl(fd, request, arg); >> + va_end(va); >> + >> + if (ret < 0 && request == DRM_IOCTL_GEM_CLOSE && errno == EINVAL) >> + failed = 1; >> + >> + return ret; >> +} >> + >> +static void * >> +openclose(void *dev) >> +{ >> + struct nouveau_device *nvdev = dev; >> + struct nouveau_bo *bo = NULL; >> + int i; >> + >> + for (i = 0; i < 100000; ++i) { >> + if (!nouveau_bo_prime_handle_ref(nvdev, import_fd, &bo)) >...
2015 Feb 26
4
[PATCH v2 1/4] Add atomic_inc_return to atomics.
Signed-off-by: Maarten Lankhorst <maarten.lankhorst at ubuntu.com> --- xf86atomic.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/xf86atomic.h b/xf86atomic.h index 8c4b696..17fb088 100644 --- a/xf86atomic.h +++ b/xf86atomic.h @@ -49,6 +49,7 @@ typedef struct { # define atomic_read(x) ((x)->atomic) # define atomic_set(x, val) ((x)->atomic = (val)) # define atomic_inc(x)
2011 Jul 27
3
sieve on debian squeeze
Hi. I have a quite problem with dovecot and sieve on Debian Squeeze. I'm trying to enable sieve plugin into dovecot, but something is deeply wrong. I hope that this is the right place to give some help. There are no errors or warning messages, simply sieve don't works. For the big picture about my mail server you can follow this link