mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
caac5f777a
Recent monitor.rb has performance problem because of interrupt handlers. 'Monitor#synchronize' is frequently used primitive so the performance of this method is important. This patch rewrite 'monitor.rb' with 'monitor.so' (C-extension) and make it faster. See [Feature #16255] for details. Monitor class objects are normal object which include MonitorMixin. This patch introduce a Monitor class which is implemented on C and MonitorMixin uses Monitor object as re-entrant (recursive) Mutex. This technique improve performance because we don't need to care atomicity and we don't need accesses to instance variables any more on Monitor class.
13 lines
435 B
Text
13 lines
435 B
Text
# AUTOGENERATED DEPENDENCIES START
|
|
monitor.o: $(RUBY_EXTCONF_H)
|
|
monitor.o: $(arch_hdrdir)/ruby/config.h
|
|
monitor.o: $(hdrdir)/ruby/assert.h
|
|
monitor.o: $(hdrdir)/ruby/backward.h
|
|
monitor.o: $(hdrdir)/ruby/defines.h
|
|
monitor.o: $(hdrdir)/ruby/intern.h
|
|
monitor.o: $(hdrdir)/ruby/missing.h
|
|
monitor.o: $(hdrdir)/ruby/ruby.h
|
|
monitor.o: $(hdrdir)/ruby/st.h
|
|
monitor.o: $(hdrdir)/ruby/subst.h
|
|
monitor.o: monitor.c
|
|
# AUTOGENERATED DEPENDENCIES END
|