Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Bug 1130271: Call |add_fd_to_epoll_loop| directly in |add_timer|. Remove |remove_timer|. #4

Conversation

BruceSunMozilla
Copy link
Contributor

Bug 1130271: Call |add_fd_to_epoll_loop| directly in |add_timer|. Remove |remove_timer|.

* function will remove the timer from the I/O loop and cleanup its
* resources.
* To remove an existing timer, call |remove_fd_from_epoll_loop|. The
* parameter is a timer that has been returned by |add_xxx_timer_to_epoll_loop|.
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe write |add_{relative,absolute}_timer_to_epoll_loop|.

@BruceSunMozilla BruceSunMozilla force-pushed the bug1130271_redundant_timer_callback branch from a2633b2 to 7c74579 Compare February 12, 2015 04:51
rvandermeulen added a commit that referenced this pull request Feb 13, 2015
…_callback

Bug 1130271: Call |add_fd_to_epoll_loop| directly in |add_timer|. Remove |remove_timer|.
@rvandermeulen rvandermeulen merged commit af112bf into mozilla-b2g:master Feb 13, 2015
rvandermeulen added a commit that referenced this pull request Feb 13, 2015
…nt_timer_callback"

This reverts commit af112bf, reversing
changes made to 8fcd25d.
@BruceSunMozilla BruceSunMozilla deleted the bug1130271_redundant_timer_callback branch February 25, 2015 02:57
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants