Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage accumulated changes. #1

Merged
merged 10 commits into from
Mar 20, 2012
Merged

Usage accumulated changes. #1

merged 10 commits into from
Mar 20, 2012

Conversation

sshirokov
Copy link
Contributor

  • Exports enough symbols to boot and run an event loop that includes timers and I/O callbacks
  • Changes parameters to devars so that repeated evaluation doesn't trash the state of the machine
  • Added optional parameter to event-dispatch call to skip automatically adding requested watchers to the event loop.
  • Added optional parameters to not collect the callback when a watcher is stopped. For watchers that are maintained, but periodically paused.

(defgeneric start-watcher (loop watcher))
(defgeneric event-dispatch (ev-loop))
(defgeneric event-dispatch (ev-loop &optional initial-start))
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not just call initial-start start-watchers?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed.

@sshirokov
Copy link
Contributor Author

And rebased.

sbryant added a commit that referenced this pull request Mar 20, 2012
Usage accumulated changes.
@sbryant sbryant merged commit 5309a4b into sbryant:wrapper Mar 20, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants