Hi Alexandre, thanks for asking.
The build-recorder code, in its current state,
introduces an artificial barrier to multiple processes
running concurrently, since it is single-threaded.
Therefore, the goal of this GSoC project
is to try to improve the implementation
to be able to handle multiple processes.
To put it into an example:
"build-recorder gcc x.c" now runs fine;
"build-recorder make" is also fine
(recording everything make does,
processes being generated, etc.);
but "build-recorder make -j",
where make spawns processes in parallel
is effectively treated as the previous case,
since all recording is being done
in a single thread.
I am not sure I understood the question
about "specific method" for implementing
multi-threading. Can you explain?
Hope this helps,
On Thu, Mar 2, 2023, at 13:51, Alex Dy wrote:
> Greetings,
>
> I'm Alexandros Ntyrkai and i'm interested in contributing to the
> project ''Build Recorder performance improvements''. I'm a student in
> Computer Science at the Department of Informatics & Telecommunications
> at University of Athens. Through my undergraduate studies I have a
> hands-on experience over implemented projects with multithread and C.
> In addition, i have worked with many other projects with data
> structures, C and bash. I have two questions. The first thing i want to
> ask is if the large scale and the parallel builds will be implemented
> to run "build recorder" with one or more compile commands and they
> will run in parallel. The second thing i want to ask is if
> multithreading will be implemented with a specific method.
> Thank you.
>
> Kind regards,
> Alexandros Ntyrkai
> ----
> Λαμβάνετε αυτό το μήνυμα απο την λίστα: Λίστα αλληλογραφίας και
> συζητήσεων που απευθύνεται σε φοιτητές developers \& mentors έργων του
> Google Summer of Code - A discussion list for student developers and
> mentors of Google Summer of Code projects.,
> https://lists.ellak.gr/gsoc-developers/listinfo.html
> Μπορείτε να απεγγραφείτε από τη λίστα στέλνοντας κενό μήνυμα ηλ.
> ταχυδρομείου στη διεύθυνση <gsoc-developers+unsubscribe [ at ] ellak [ dot ] gr
> <mailto:gsoc-developers%2Bunsubscribe [ at ] ellak [ dot ] gr>>.
--
-- zvr -
----
Λαμβάνετε αυτό το μήνυμα απο την λίστα: Λίστα αλληλογραφίας και συζητήσεων που απευθύνεται σε φοιτητές developers \& mentors έργων του Google Summer of Code - A discussion list for student developers and mentors of Google Summer of Code projects.,
https://lists.ellak.gr/gsoc-developers/listinfo.html
Μπορείτε να απεγγραφείτε από τη λίστα στέλνοντας κενό μήνυμα ηλ. ταχυδρομείου στη διεύθυνση <gsoc-developers+unsubscribe [ at ] ellak [ dot ] gr>.