Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
37fb456b
"examples/pytorch/git@developer.sourcefind.cn:OpenDAS/dgl.git" did not exist on "1eb17bb01f8e3f95937e2b65a0c81ed68504fd0e"
Commit
37fb456b
authored
Oct 17, 2012
by
Davis King
Browse files
clarified spec
parent
f6b0c1aa
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
11 deletions
+24
-11
dlib/bsp/bsp_abstract.h
dlib/bsp/bsp_abstract.h
+24
-11
No files found.
dlib/bsp/bsp_abstract.h
View file @
37fb456b
...
@@ -110,10 +110,14 @@ namespace dlib
...
@@ -110,10 +110,14 @@ namespace dlib
- #item == the next message which was sent to the calling processing
- #item == the next message which was sent to the calling processing
node.
node.
- else
- else
- There were no other messages to receive and all other processing
- The following must have been true for this function to return false:
nodes are blocked on calls to receive() or have terminated. That is,
- All other nodes were blocked on calls to receive() or terminated.
receive() waits for all other nodes to be in a state which can't
- There were not any messages in flight between any nodes.
generate new messages before it returns false).
- That is, if all the nodes had continued to block on receive()
then they all would have blocked forever. Therefore, this
function only returns once there are no more messages to process
by any any node and there is no possibility of more being
generated until control is returned to the callers of receive().
throws
throws
- dlib::socket_error:
- dlib::socket_error:
This exception is thrown if some error occurs which prevents us from
This exception is thrown if some error occurs which prevents us from
...
@@ -140,10 +144,14 @@ namespace dlib
...
@@ -140,10 +144,14 @@ namespace dlib
- #sending_node_id == the node id of the node that sent this message.
- #sending_node_id == the node id of the node that sent this message.
- #sending_node_id < number_of_nodes()
- #sending_node_id < number_of_nodes()
- else
- else
- There were no other messages to receive and all other processing
- The following must have been true for this function to return false:
nodes are blocked on calls to receive() or have terminated. That is,
- All other nodes were blocked on calls to receive() or terminated.
receive() waits for all other nodes to be in a state which can't
- There were not any messages in flight between any nodes.
generate new messages before it returns false).
- That is, if all the nodes had continued to block on receive()
then they all would have blocked forever. Therefore, this
function only returns once there are no more messages to process
by any any node and there is no possibility of more being
generated until control is returned to the callers of receive().
throws
throws
- dlib::socket_error:
- dlib::socket_error:
This exception is thrown if some error occurs which prevents us from
This exception is thrown if some error occurs which prevents us from
...
@@ -159,9 +167,14 @@ namespace dlib
...
@@ -159,9 +167,14 @@ namespace dlib
);
);
/*!
/*!
ensures
ensures
- simply waits for all other nodes to become blocked on calls to receive()
- Wait for the following to all be true.
or to terminate (i.e. waits for other nodes to be in a state that can't
- All other nodes are blocked on calls to receive() or have terminated.
send messages).
- There are not any messages in flight between any nodes.
- That is, if all the nodes had continued to block on receive() then
they all would have blocked forever. Therefore, this function only
returns once there are no more messages to process by any any node
and there is no possibility of more being generated until control is
returned to the callers of receive().
throws
throws
- dlib::socket_error:
- dlib::socket_error:
This exception is thrown if some error occurs which prevents us from
This exception is thrown if some error occurs which prevents us from
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment