]> git.ipfire.org Git - thirdparty/openssl.git/blobdiff - include/internal/quic_channel.h
QUIC DISPATCH/APL: Implement SSL_set_default_stream_mode, default XSO refactor
[thirdparty/openssl.git] / include / internal / quic_channel.h
index 084c465c3add3dde46c44ee70a556bf1815dac92..74b347378259148d71aeb557c64bc6ffb17faf00 100644 (file)
  */
 #  define QUIC_TAKES_LOCK
 
+/*
+ * The function acquires the channel mutex and leaves it acquired
+ * when returning success.
+ *
+ * Any function tagged with this has the following precondition and
+ * postcondition:
+ *
+ *   Precondition: must not hold channel mutex (unchecked)
+ *   Postcondition: channel mutex is held by calling thread
+ *      or function returned failure
+ */
+#  define QUIC_ACQUIRES_LOCK
+
 #  define QUIC_TODO_LOCK
 
 #  define QUIC_CHANNEL_STATE_IDLE                        0