similar to: Quick thought on win32-mmap

Displaying 20 results from an estimated 3000 matches similar to: "Quick thought on win32-mmap"

2004 Oct 23
0
win32-ipc, with blocks (code review please)
Does this look right? The places to look are wait and wait_for_multiple (which I modified to take the class as an argument, so that I could yield). Dan /**************************************************************************** * ipc.c - source for the win32-ipc package ****************************************************************************/ #include "ruby.h" #include
2004 Mar 13
1
win32-mmap followup
Oops - just realized that there aren''t accessors for namespace, swapfile, size, etc. Should we add them? Or don''t we want to because then it might become confusing as to whether those values were "shared"? Dan _________________________________________________________________ Store more e-mails with MSN Hotmail Extra Storage – 4 plans to choose from!
2006 May 02
1
Converting rb_protect + ruby_stop to pure Ruby
Hi, Within process.c, in the fork method, there''s this bit of code: if(rb_block_given_p()){ int status; rb_protect(rb_yield, Qundef, &status); ruby_stop(status); } I translated that as this: if block_given? status = 0 begin yield rescue Exception status = -1 # Any non-zero result is failure end exit(status) end Is there a way to get
2006 Oct 22
0
[707] trunk/wxruby2/swig/classes/Window.i: Window-paint method now implemented in Ruby (Alex Fenton)
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2004 Aug 06
1
icecast2 with darkice -look ok?
This is all I get, I'm not feeding it any source yet. I'm having trouble finding the soundcard input to mount to /dev/dsp Changed groupid to 500. Changed userid to 500. Here's my config <icecast> <limits> <clients>30</clients> <sources>2</sources> <threadpool>5</threadpool>
2004 Aug 06
1
icecast2 with darkice -look ok?
now I'm getting a Could not create listener socket on port 8000 I changed the hostname to my IP <p>>From: "Ramon Hernandez" <rihernanbu@hotmail.com> >Reply-To: icecast@xiph.org >To: icecast@xiph.org >Subject: [icecast] icecast2 with darkice -look ok? >Date: Thu, 04 Mar 2004 15:48:26 -0500 > >This is all I get, I'm not feeding it any source yet.
2016 Aug 05
4
Fwd: Re: Encrypt /decrypta file with ssh keys.
As per Alex's suggestion, attached is the proof of concept "sfile" script. If there is anyone out there with great C skills who can recreate this functionality "out of the box", I think there would be a few happy campers (at least two, anyways). -------- Forwarded Message -------- Subject: Re: Encrypt /decrypta file with ssh keys. Date: Fri, 5 Aug 2016 17:24:35
2007 Mar 21
4
Problem with PaintDC(MSW)
When implementing EVT_PAINT handlers in c++ the PaintDC object is constructed at the beginning of the function, and auto destructed at it''s end, which informs wxwidgets that "invalid regions in the window have been repainted". Under ruby, this is not the case and causes a stream of EVT_PAINT events to be sent to the given window (until one of PaintDC objects is destructed by
2005 Aug 22
2
RFC: "loop connections"
I've just implemented a generalization of R's text connections, to also support reading/writing raw binary data. There is very little new code to speak of. For input connections, I wrote code to populate the old text connection buffer from a raw vector, and provided a new raw_read() method. For output connections, I wrote a raw_write() to append to a raw vector. On input, the mode
2008 Mar 28
1
bwlimit on rsync locally
Does "bwlimit" option really work on rsync locally? We have one type of harddisk and want to slow down rsync I/O on disk because I don't want the disk head gets too hot. While I'm trying to use --bwlimit option, it looks the rsync speed was slowed down, but iostat is not improved at all. In both case the block written speed is increased by the same amount. How could I really
2004 Feb 21
1
win32-taskscheduler thoughts
I''ve updated taskscheduler.c and taskscheduler.h. The method names are now more Ruby-like (though I have to change a couple yet), and I''ve shortened the constant names, as well as moved the constants over to the .h file. I was thinking we should merge a few of these methods. I think "set_target_computer" and "new_work_item" could both be rolled into the
2005 Sep 18
0
Updated rawConnection() patch
Here's an update of my rawConnection() implementation. In addition to providing a raw version of textConnection(), this fixes two existing issues with textConnection(): one is that the current textConnection() implementation carries around unprotected SEXP pointers, the other is a performance problem due to prolific copying of the output buffer as output is accumulated line by line. This new
2013 Oct 21
11
swapfile on btrfs, temporary solution for wiki
Hello list, i know what btrfs don''t support swap files. I read arch wiki and when i reading about systemd addon for auto create swapfile on btrfs, i invent the way, how create and using swap file, just see following sh code: swapfile=$(losetup -f) #free loop device truncate -s 8G /swap #create 8G sparse swap file losetup $swapfile /swap #mount file to loop mkswap $swapfile swapon
2007 May 31
0
[1039] trunk/wxruby2/swig/Events.i: Remove some debugging output
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2007 Apr 18
2
[patch 4/9] Guest page hinting: volatile swap cache.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> From: Hubertus Franke <frankeh@watson.ibm.com> From: Himanshu Raj <rhim@cc.gatech.edu> [patch 4/9] Guest page hinting: volatile swap cache. The volatile page state can be used for anonymous pages as well, if they have been added to the swap cache and the swap write is finished. The tricky bit is in free_swap_and_cache. The call
2007 Apr 18
2
[patch 4/9] Guest page hinting: volatile swap cache.
From: Martin Schwidefsky <schwidefsky@de.ibm.com> From: Hubertus Franke <frankeh@watson.ibm.com> From: Himanshu Raj <rhim@cc.gatech.edu> [patch 4/9] Guest page hinting: volatile swap cache. The volatile page state can be used for anonymous pages as well, if they have been added to the swap cache and the swap write is finished. The tricky bit is in free_swap_and_cache. The call
2017 Oct 02
2
NFS mount on Centos 7 crashing
This config is working fior me, with just using an older kernel. [root at mnemosyne ~]# uname -r 3.10.0-514.21.2.el7.x86_64 [root at mnemosyne ~]# rpm -qa | grep rpcbind rpcbind-0.2.0-42.el7.x86_64 [root at mnemosyne ~]# rpm -qa | grep nfs libnfsidmap-0.25-17.el7.x86_64 nfs-utils-1.3.0-0.48.el7.x86_64 Patrick -- =================================================================== | Equipe
2007 Apr 29
0
[983] branches/wxruby2/wxwidgets_282: Make Window#paint work both inside and outside a paint event handler,
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!-- #msg dl { border: 1px #006 solid; background: #369; padding:
2004 Apr 15
1
ATA 186 SIP behind XP Dynamic IP Firewall to Static Public Asterisk
Is it possible to set up the following? public IP Asterisk Server to ata 186 behind a XP server firewall. I think my biggest problem is that I don't know how to make XP forward the RTP port to the private ata address. I would put up some configs, but was hoping that someone one who has this working can share the working configurations incase mine are all messed up (which is likely.)
2004 May 11
1
Sipura, Asterisk, *0, and Call Waiting
I have searched through all the lists and found that some people have had luck with flash hook, then *0 to answer a call waiting call. I have an Asterisk server with one FXO card, the dialtone for the fxo card is providing by another pbx called a Definity. When I am on the Sipura, and another call comes in, I hear the call-waiting indicator, when I flash hook I just hear tone, if I dial *0 I