From 64efbf246e98bd473aebe99ef0e5eb23e82587d3 Mon Sep 17 00:00:00 2001 From: nobu Date: Sat, 15 Oct 2016 23:34:27 +0000 Subject: test_io.rb: use assert_not_predicate * test/ruby/test_io.rb (test_DATA_binmode): assert_not_predicate for more descriptive message. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- test/ruby/test_io.rb | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'test/ruby') diff --git a/test/ruby/test_io.rb b/test/ruby/test_io.rb index e784c30c07..5c713451df 100644 --- a/test/ruby/test_io.rb +++ b/test/ruby/test_io.rb @@ -2470,15 +2470,10 @@ End end def test_DATA_binmode - make_tempfile {|t| - open(t.path, "w") {|f| - f.puts <<-SRC -puts DATA.binmode? + assert_separately([], <<-SRC) +assert_not_predicate(DATA, :binmode?) __END__ - SRC - } - assert_in_out_err(t.path, [], %w(false)) - } + SRC end def test_threaded_flush -- cgit v1.2.3 _1_8_6 The Ruby Programming Language
summaryrefslogtreecommitdiff
path: root/thread_pthread.h
AgeCommit message (Expand)Author
2023-07-08macos: symbols for `rb_execution_context_t` should be internalNobuyoshi Nakada
2023-04-07[Bug#19161] Detect thread local storage specifierNobuyoshi Nakada
2023-03-31`nt->serial` for `RUBY_DEBUG_LOG`Koichi Sasada
2022-12-19Use pthread API if the target platform doesn't support TLS attributeNobuyoshi Nakada
2022-05-24altstack is native thread's attrKoichi Sasada
2022-05-24remove `NON_SCALAR_THREAD_ID` supportKoichi Sasada
2022-05-24`native_tls_get()`' should not check resultsKoichi Sasada
2022-05-22Disable usage of TLS unless availableNobuyoshi Nakada
2022-04-23introduce struct `rb_native_thread`Koichi Sasada
2022-04-22rename thread internal namingKoichi Sasada
2022-03-30Prefix ccan headers (#4568)Nobuyoshi Nakada
2021-05-07Protoized old pre-ANSI K&R style declarations and definitionsNobuyoshi Nakada
2021-05-04Fix trivial -Wundef warningsBenoit Daloze
2020-11-18fix public interfaceKoichi Sasada
2020-10-20Use language TLS specifier if it is possible.Koichi Sasada
2020-09-03Introduce Ractor mechanism for parallel executionKoichi Sasada
2020-04-13add #include guard hack卜部昌平
2018-08-28thread_pthread.h: rename `gvl.acquired' to `gvl.owner' and documentnormal
2018-08-19thread_pthread.c: reset timeslice delay when uncontendednormal
2018-08-15thread_pthread.h (native_thread_data): split list_node between ubf and gvlnormal
2018-08-13thread_pthread.c: eliminate timer thread by restructuring GVLnormal
2018-08-06thread_pthread.c: restore timer-thread for now :<normal
2018-07-30thread_pthread.h (native_thread_data): split condvars on some platformsnormal
2018-07-29thread_pthread: remove timer-thread by restructuring GVLnormal
2018-04-22thread*: all condvars are monotonicnormal
2015-11-30* thread_pthread.c (register_ubf_list): renamed fromkosaki
2014-08-15thread_pthread: prefer rb_nativethread* types/functionsnormal
2014-07-08thread_pthread.h: do not expose pthread type for locknormal
2014-07-08thread_pthread.h: remove unneeded semaphore.h includenormal
2014-05-14* ext/openssl/depend: remove dependency from internal headers.ko1
2013-07-23* thread_(pthread|win32).h: rename rb_thread_cond_t toko1
2013-07-23* thread_pthread.h, thread_win32.h: rename rb_thread_id_t toko1
2013-07-23* thread_native.h: added.ko1
2011-10-29* thread_pthread.h: no Structured Exception Handling like macros.nobu
2011-06-27* thread_pthread.h (rb_global_vm_lock_struct): add volatile tokosaki
2011-06-16* thread_pthread.c, thread_pthread.h: remove unused variables.ko1
2011-06-14* thread_pthread.c (gvl_yield): fix live lock issue on 1-2 cpuskosaki
2011-06-13* thread_pthread.c: rewrite GVL completely.kosaki
2011-05-07* thread_pthread.c (USE_MONOTONIC_COND): check the availabilitynobu
2011-05-06* thread_pthread.h (rb_thread_cond_t): add clockid field. it'skosaki
2010-11-27* thread.c, vm_core.h: make gvl_acquire/release/init/destructko1
2010-02-04* thread_pthread.c (native_thread_init_stack): use get_stack.naruse