Skip to content
Commit 1e0f9698 authored by Marek Chalupa's avatar Marek Chalupa Committed by Pekka Paalanen
Browse files

client: add display_wakeup_threads function



This helper function wraps the always-repeated pattern:

  display->read_serial++;
  pthread_cond_broadcast(&display->reader_cond);

[Pekka Paalanen: minor whitespace and comment fixes.]

Signed-off-by: default avatarMarek Chalupa <mchqwerty@gmail.com>
signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.co.uk>
parent 5c7d30b6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment