Hi Kenton, i replicated the problem
iam not using the LITE mode
I don't understand why the reference to `kj::AsyncInputStream::read(void*, 
unsigned long long, unsigned long long) fails
cheers andre

=== snap shot ===
[ 71%] Built target kj-async
Scanning dependencies of target kj-heavy-tests
[ 73%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/async-test.c++.obj
[ 75%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/async-win32-test.c++.obj
[ 77%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/async-io-test.c++.obj
[ 79%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/refcount-test.c++.obj
[ 81%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/string-tree-test.c++.obj
[ 83%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/arena-test.c++.obj
[ 85%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/units-test.c++.obj
[ 87%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/tuple-test.c++.obj
[ 89%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/one-of-test.c++.obj
[ 91%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/function-test.c++.obj
[ 93%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/threadlocal-pthread-test.c++.obj
[ 95%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/parse/common-test.c++.obj
[ 97%] Building CXX object 
src/kj/CMakeFiles/kj-heavy-tests.dir/parse/char-test.c++.obj
[100%] Linking CXX executable kj-heavy-tests.exe
libkj-async.a(kjasync-io-win32.c++.obj):kjasync-io-win32.c++:(.rdata$_ZTVN2kj13AsyncIoStreamE[_ZTVN2kj13AsyncIoStreamE]+0x10):
 
undefined reference to `kj::AsyncInputStream::read(void*, unsigned long 
long, unsigned long long)'
libkj-async.a(kjasync-io-win32.c++.obj):kjasync-io-win32.c++:(.rdata$.refptr._ZTVN2kj16AsyncInputStreamE[.refptr._ZTVN2kj16AsyncInputStreamE]+0x0):
 
undefined reference to `vtable for kj::AsyncInputStream'
collect2.exe: error: ld returned 1 exit status
src\kj\CMakeFiles\kj-heavy-tests.dir\build.make:423: recipe for target 
'src/kj/kj-heavy-tests.exe' failed
mingw32-make.exe[2]: *** [src/kj/kj-heavy-tests.exe] Error 1
CMakeFiles\Makefile2:1219: recipe for target 
'src/kj/CMakeFiles/kj-heavy-tests.dir/all' failed
mingw32-make.exe[1]: *** [src/kj/CMakeFiles/kj-heavy-tests.dir/all] Error 2
Makefile:126: recipe for target 'all' failed
mingw32-make.exe: *** [all] Error 2
Press any key to continue . . .

On Wednesday, January 18, 2017 at 7:03:46 PM UTC+1, AMvanRijsbergen wrote:
>
> Hi, i an trying to figure out how multiple threads are started in kj,
> It looks like they are started independently in other code atleast the 
> Unix code but what I don't understand in the windows code first 
> CreateThread is used in thread.h and then completionport created in 
> async-io-win32.h because completionport is a wrapper around threadpool. Is 
> the intention to create one thread at the event loop and port and the 
> create an other thread with a loop or is it supposed to create multiple 
> threads based on the number of cores? 
>
> Cheers Andre
>

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to