Skip to content

Instantly share code, notes, and snippets.

@azat
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save azat/f9ad5cb197fdf5cedfb0 to your computer and use it in GitHub Desktop.
Save azat/f9ad5cb197fdf5cedfb0 to your computer and use it in GitHub Desktop.
thread#5: thread#1:
- lock(bufev->lock) # waiting, blocked by #t1
- bufferevent_setcb(bufev=0x64f350, ...)
- send_http_response() - lock() # waiting, blocked by #t5
- device_chunk_cb() - evbuffer_get_length("device1->pending->bufev")
- device_read_cb(bev=0x6396d0, arg="device1") - device_write_cb(bev=0x64f350, arg="device1")
- bufferevent_trigger_nolock_() - bufferevent_trigger_nolock_()
- lock(bufev->lock (0x6396d0)) - lock(bufev->lock(0x64f350))
- bufferevent_readcb(arg=0x6396d0) - bufferevent_writecb(arg=0x64f350)
- event_persist_closure() - event_persist_closure()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment