projects
/
feisty_meow.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new version
[feisty_meow.git]
/
nucleus
/
library
/
tests_crypto
/
test_blowfish_crypto.cpp
diff --git
a/nucleus/library/tests_crypto/test_blowfish_crypto.cpp
b/nucleus/library/tests_crypto/test_blowfish_crypto.cpp
index e6fdd4b04526089688aa14719b1bf2ac3d375db4..2f2e07783baac1e8b9319441e2808cdb8e32bdd7 100644
(file)
--- a/
nucleus/library/tests_crypto/test_blowfish_crypto.cpp
+++ b/
nucleus/library/tests_crypto/test_blowfish_crypto.cpp
@@
-91,11
+91,21
@@
private:
int test_blowfish::execute()
{
FUNCDEF("execute");
int test_blowfish::execute()
{
FUNCDEF("execute");
+#ifdef DEBUG_BLOWFISH
+ LOG(astring("starting blowfish test..."));
+#endif
int left = THREAD_COUNT;
while (left--) {
int left = THREAD_COUNT;
while (left--) {
- _threads.add_thread(new blowfish_thread(*this), true, NIL);
+#ifdef DEBUG_BLOWFISH
+ LOG(a_sprintf("blowfish thread %d starting...", left));
+#endif
+ _threads.add_thread(new blowfish_thread(*this), true, NULL_POINTER);
}
}
+#ifdef DEBUG_BLOWFISH
+ LOG(astring("started all threads..."));
+#endif
+
while (_threads.threads()) {
#ifdef DEBUG_BLOWFISH
LOG(astring("cleaning debris."));
while (_threads.threads()) {
#ifdef DEBUG_BLOWFISH
LOG(astring("cleaning debris."));