diff options
| author | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-23 14:39:32 +0000 |
|---|---|---|
| committer | why <why@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-23 14:39:32 +0000 |
| commit | 4646793ae48e7fc3e0d859696ca4d65eaab0584a (patch) | |
| tree | c6bdae9d4e095bce3eb21bde9075a7db78629625 /lib/date/format.rb | |
| parent | 0028886c7cc33323fdd8ad98d7268792af920ca6 (diff) | |
| download | ruby-4646793ae48e7fc3e0d859696ca4d65eaab0584a.tar.gz ruby-4646793ae48e7fc3e0d859696ca4d65eaab0584a.tar.xz ruby-4646793ae48e7fc3e0d859696ca4d65eaab0584a.zip | |
* eval.c (rb_thread_save_context, rb_thread_restore_context):
sandbox hook to save and restore sandbox state.
* eval.c (thread_no_ensure): added THREAD_NO_ENSURE thread flag.
* eval.c (rb_thread_kill_bang): Thread#kill! uses the above flag
to circumvent ensure, in order to prevent endless loops.
[ruby-core:08768]
* eval.c (rb_thread_kill): fix Thread#kill docs, which returns
the thread object in all cases.
* node.h: expose the rb_jmpbuf_t and rb_thread_t structs, along
with the thread flags. used by the sandbox extension.
* ruby.h: extern rb_eThreadError, so sandbox can swap it.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/date/format.rb')
0 files changed, 0 insertions, 0 deletions
