Returns true
if stat terminated because of an uncaught signal.
Returns true
if stat generated a coredump when it terminated. Not available on all platforms.
Releases the lock and sleeps timeout
seconds if it is given and non-nil or forever. Raises ThreadError
if mutex
wasn’t locked by the current thread.
When the thread is next woken up, it will attempt to reacquire the lock.
Note that this method can wakeup without explicit Thread#wakeup
call. For example, receiving signal and so on.
Removes all objects from the queue.
Returns the length of the queue.
Removes all objects from the queue.
Returns digest_obj.digest_length().
Updates the digest with the contents of a given file name and returns self.
The Fiddle::CompositeHandler
instance
Will raise an error if no handlers are open.
Decodes a BER- or DER-encoded value and creates an ASN1Data
instance. der
may be a String
or any object that features a #to_der
method transforming it into a BER-/DER-encoded String
.
der = File.binread('asn1data') asn1 = OpenSSL::ASN1.decode(der)
The current status of GC
profile mode.
Starts the GC
profiler.
Stops the GC
profiler.
Clears the GC
profiler data.
Returns a profile data report such as:
GC 1 invokes. Index Invoke Time(sec) Use Size(byte) Total Size(byte) Total Object GC time(ms) 1 0.012 159240 212940 10647 0.00000000000001530000