-
September 1st, 2022, 11:01 AM
#1
running processes in library
hi,
my console program calls a c++ library function which does IO data exchange?. best way to optimize the throughput?.
Last edited by @EE@; September 4th, 2022 at 12:48 AM.
-
September 2nd, 2022, 02:03 AM
#2
Re: running processes in library
You should use worker thread(s) and move the code to communicate with IO in there.
Victor Nijegorodov
-
September 2nd, 2022, 10:57 PM
#3
Re: running processes in library
it is an imported library function that communicates with IO and have no source for it. Include the library function call inside a worker std::thread and wait till it is done?.
-
September 3rd, 2022, 02:05 AM
#4
Re: running processes in library
I have no idea about this "imported library function" nor know I how it works. Thus I cannot say more about it. Try to find some docs about this function and its using.
Victor Nijegorodov
-
September 4th, 2022, 01:06 AM
#5
Re: running processes in library
what i liked to verify was weather to use the actual code or its library call inside a thread should be the same. code is code, it does not matter if it is a library call. Just place it in inside a thread and execute it.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|