diff include/freeDiameter/libfdproto.h @ 1188:f40de74bd1c7

Don't block PSM during failover
author Sebastien Decugis <sdecugis@freediameter.net>
date Mon, 10 Jun 2013 14:27:15 +0800
parents 56c36d1007b4
children dcc467aeda12
line wrap: on
line diff
--- a/include/freeDiameter/libfdproto.h	Mon Jun 10 12:04:50 2013 +0800
+++ b/include/freeDiameter/libfdproto.h	Mon Jun 10 14:27:15 2013 +0800
@@ -3121,6 +3121,10 @@
 #define fd_fifo_post(queue, item) \
 	fd_fifo_post_int((queue), (void *)(item))
 
+/* Similar function but does not block. It can cause the number of items in the queue to exceed the maximum set. Do not use for normal operation,
+only for failure recovery for example. */
+int fd_fifo_post_noblock( struct fifo * queue, void ** item );
+
 /*
  * FUNCTION:	fd_fifo_get
  *
"Welcome to our mercurial repository"