Skip to content

Commit

Permalink
Add handy assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Nov 2, 2017
1 parent ae9971e commit 511acd8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libponyrt/sched/scheduler.c
Original file line number Diff line number Diff line change
Expand Up @@ -530,6 +530,7 @@ PONY_API pony_ctx_t* pony_ctx()

void ponyint_sched_mute(pony_ctx_t* ctx, pony_actor_t* sender, pony_actor_t* recv)
{
pony_assert(sender != recv);
scheduler_t* sched = ctx->scheduler;
size_t index = HASHMAP_UNKNOWN;
muteref_t key;
Expand Down

0 comments on commit 511acd8

Please sign in to comment.