Options for the flags parameter when you try to acquire a buffer from a producer
#include <screen/screen.h>
enum { SCREEN_ACQUIRE_AND_RELEASE_OTHERS = (1 << 0), SCREEN_ACQUIRE_DONT_BLOCK = (1 << 5) };
This flag must be specified with SCREEN_ACQUIRE_DONT_BLOCK.
These options are valid only for the screen_acquire_buffer() function. Use Screen flushing types for other Screen API functions that accept a flags parameter.