search for: rubysig

Displaying 5 results from an estimated 5 matches for "rubysig".

Did you mean: rubylib
2007 Oct 21
2
Simulating RUBY_CRITICAL
Hi all, I''ve added some critical section methods to the Windows::Synchronize module in the windows-pr library (in CVS). Looking at the RUBY_CRITICAL macro from rubysig.h, it basically looks like this (in pure Ruby): def RUBY_CRITICAL(&block) critical_section = [0].pack(''L'') InitializeCriticalSection(critical_section) EnterCriticalSection(critical_section) block.call LeaveCriticalSection(critical_section) end But, should...
2007 Jun 19
1
fastthread errors on Debian Etch
...; /usr/lib/ruby/1.8/i486-linux/intern.h:217: error: previous declaration of ''rb_thread_wait_for'' was here /usr/lib/ruby/1.8/i486-linux/intern.h:447: warning: parameter names (without types) in function declaration In file included from fastthread.c:14: /usr/lib/ruby/1.8/i486-linux/rubysig.h:15:19: error: errno.h: No such file or directory fastthread.c: In function ''wait_condvar'': fastthread.c:626: warning: passing argument 1 of ''rb_ensure'' from incompatible pointer type make: *** [fastthread.o] Error 1 I have ruby1.8-dev also installed. Which pk...
2007 Nov 18
18
mongrel and fastthread on ruby 1.9?
Is anybody testing mongrel on ruby 1.9. I just tried installing mongrel on trunk 1.9 and trunk rubygems and got this error compiling fastthread: /Users/stephen/dev/ruby/1.9_trunk/bin/ruby extconf.rb install mongrel --no-rdoc creating Makefile make gcc -I. -I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9/i686-darwin8.10.1 -I/Users/stephen/dev/ruby/1.9_trunk/include/ruby-1.9 -I.
2009 Nov 12
1
[ win32utils-Bugs-27425 ] win32-open3 doesn't build with 1.9.1
...cl -nologo -I. -Ic:/ruby19/include/ruby-1.9.1/i386-mswin32_90 -Ic:/ruby19/include/ruby-1.9.1/ruby/backward -Ic:/ruby19/include/ruby-1.9.1 - n32 -MD -Zi -O2b2xty- -Zm600 -DHAVE_TYPE_RB_PID_T -D_CRT_SECURE_NO_DEPRECATE -D_CRT_NONSTDC_NO_DEPRECATE -Foopen3.obj -c -Tcwin32/open3.c open3.c warning: rubysig.h is obsolete warning: use "ruby/io.h" instead of "rubyio.h" win32/open3.c(88) : error C2039: ''ptr'' : is not a member of ''RArray'' c:\ruby19\include\ruby-1.9.1\ruby/ruby.h(607) : see declaration of ''RArray'' win32/open3...
2010 May 20
3
Install eventmachine on Debian Lenny
...;s the problem? My (awful) logs: ============================= # gem i eventmachine Building native extensions. This could take a while... ERROR: Error installing eventmachine: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb checking for rb_trap_immediate in ruby.h,rubysig.h... no checking for rb_thread_blocking_region()... no checking for inotify_init() in sys/inotify.h... no checking for __NR_inotify_init in sys/syscall.h... no checking for writev() in sys/uio.h... no checking for rb_thread_check_ints()... no checking for rb_time_new()... yes checking for sys/event...