summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-06-29 15:20:24 +0200
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2017-06-29 15:20:24 +0200
commit8d5c996aef28fae9f848e1fab419b4d2821e8862 (patch)
treea2b5fac4ee5b3e21711fe80c273f300541d16844 /src/sequence/sequence_to_string.c
parentf7c5db9a32bb0082b59e73fa01656cd083756c3d (diff)
First shot at finer mutexes.
Diffstat (limited to 'src/sequence/sequence_to_string.c')
-rw-r--r--src/sequence/sequence_to_string.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/sequence/sequence_to_string.c b/src/sequence/sequence_to_string.c
index 6794fcb..70dcf1a 100644
--- a/src/sequence/sequence_to_string.c
+++ b/src/sequence/sequence_to_string.c
@@ -114,9 +114,7 @@ static int add_word
return 0;
}
- (void) JH_knowledge_lock_access(k, io);
- JH_knowledge_get_word(k, word_id, &word, &word_size);
- (void) JH_knowledge_unlock_access(k, io);
+ JH_knowledge_get_word(k, word_id, &word, &word_size, io);
insertion_point = *destination_length;