0.01
No release in over 3 years
Low commit activity in last 3 years
The win32-event library provides an interface to Windows event objects. An event object is a synchronization object whose state can be explicitly set to a signaled state. Event objects are useful in sending a signal to a thread indicating that a particular event has occurred.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

Runtime

>= 0.6.0
 Project Readme

Description

Interface to MS Windows Event objects.

Prerequsites

Requires the win32-ipc library.

Installation

gem install win32-event

Synopsis

  Win32::Event.new("Foo") do |event|
    event.set
    # Do stuff
    event.reset
  end

  e2 = Win32::Event.open("Bar")
  # Do stuff
  e2.close

Documentation

The event.rb file contains inline RDoc documentation. If you installed this file as a gem, then you have the docs.

Notes

The Event class is a subclass of Win32::Ipc (win32-ipc). This library require's the win32-ipc library internally (you don't need to explicitly call it).

A PulseEvent() wrapper is intentionally omitted. From the MSDN web site: "This function is unreliable and should not be used. It exists mainly for backward compatibility."

Acknowledgements

The Win32::Event Perl module by Chris Madsen was used as a general guideline for developing the API.

Known Bugs

None that I'm aware of. Please submit any bug reports to the project page at https://github.com/djberg96/win32-event.

Copyright

(C) 2003-2015 Daniel J. Berger All Rights Reserved

License

Artistic 2.0

Author

Park Heesob Daniel J. Berger

Copyright

See COPYRIGHT.md.