Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ambrop72/badvpn.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/flow
diff options
context:
space:
mode:
authorambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140>2011-03-16 21:06:34 +0300
committerambrop7 <ambrop7@1a93d707-3861-5ebc-ad3b-9740d49b5140>2011-03-16 21:06:34 +0300
commite39dbd4fda964c8279e458294fdb2b819f88d3ff (patch)
tree3b06d2d6dbcc94c1171617e234547201c368c2f3 /flow
parent9d5a63d27c4ee0f61d5686d8164eb1ab99f078fb (diff)
Add notes on using encryption functions from non-main threads.
Diffstat (limited to 'flow')
-rw-r--r--flow/SPProtoDecoder.h2
-rw-r--r--flow/SPProtoEncoder.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/flow/SPProtoDecoder.h b/flow/SPProtoDecoder.h
index e769df0..5cb6d8f 100644
--- a/flow/SPProtoDecoder.h
+++ b/flow/SPProtoDecoder.h
@@ -75,6 +75,8 @@ typedef struct {
/**
* Initializes the object.
+ * {@link BSecurity_GlobalInitThreadSafe} must have been done if
+ * {@link BThreadWorkDispatcher_UsingThreads}(twd) = 1.
*
* @param o the object
* @param output output interface. Its MTU must not be too large, i.e. this must hold:
diff --git a/flow/SPProtoEncoder.h b/flow/SPProtoEncoder.h
index e5e6092..041123c 100644
--- a/flow/SPProtoEncoder.h
+++ b/flow/SPProtoEncoder.h
@@ -85,6 +85,8 @@ typedef struct {
/**
* Initializes the object.
* The object is initialized in blocked state.
+ * {@link BSecurity_GlobalInitThreadSafe} must have been done if
+ * {@link BThreadWorkDispatcher_UsingThreads}(twd) = 1.
*
* @param o the object
* @param input input interface. Its MTU must not be too large, i.e. this must hold: