Skip to content
This repository was archived by the owner on Aug 19, 2021. It is now read-only.

In C api, rename event -> equeue for functions operating on queues #9

Merged
merged 3 commits into from
Jul 30, 2016

Conversation

geky
Copy link
Contributor

@geky geky commented Jul 28, 2016

Changed C api to indicates primary object these functions operate on, which is the queue.

event_call       -> equeue_call
event_call_in    -> equeue_call_in
event_call_every -> equeue_call_every
event_alloc      -> equeue_alloc
event_dealloc    -> equeue_dealloc
event_post       -> equeue_post
event_cancel     -> equeue_cancel

These were initially prefixed with event, since they associated with single events in the queue. However it became quickly apparent that this just led to confusion.

Unfortunately, the event prefix hasn't been completely removed and remains in the funtions that directly operate on events:

  • event_delay
  • event_period
  • event_dtor

cc @kilogram

geky added 3 commits July 29, 2016 18:55
Indicates primary object these functions operate on, which is
the queue.

event_call       -> equeue_call
event_call_in    -> equeue_call_in
event_call_every -> equeue_call_every
event_alloc      -> equeue_alloc
event_dealloc    -> equeue_dealloc
event_post       -> equeue_post
event_cancel     -> equeue_cancel

These were initially prefixed with event, since they associated
with single events in the queue. However it became quickly apparent
that this just led to confusion.

Unfortunately, the event prefix hasn't been completely removed and
remains in the funtions that directly operate on events:

- event_delay
- event_period
- event_dtor
Rename event -> equeue for functions operating on queues
@geky geky force-pushed the rename-c-equeue-calls branch from 0c20aae to f9de0b7 Compare July 30, 2016 01:21
@geky geky merged commit c55658f into master Jul 30, 2016
@geky geky deleted the rename-c-equeue-calls branch July 30, 2016 01:23
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.

1 participant