celine2c commented on issue #6576: URL: https://github.com/apache/skywalking/issues/6576#issuecomment-802695435
Hi, My requirement is I have a parent process, which will spawn 2 threads. All the threads, including the parent will be doing some process and adding the status of the process they are handling , say success or failure in the span tags. At the end who ever finishes the last, there, I want to see the success of entire process. I hope the way to communicate with threads is contextmanager.snapshot. I want the segment to be hold till the entire threads are done which i guess can be achieved through prepareforasync and asynFinish. If I cannot merge them, what would be the best way you suggest to get a single segment with the details from all the three threads? Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
