Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MD5 Logs in multithreaded execution #53

Open
jheulot opened this issue Jan 5, 2017 · 0 comments
Open

MD5 Logs in multithreaded execution #53

jheulot opened this issue Jan 5, 2017 · 0 comments

Comments

@jheulot
Copy link
Collaborator

jheulot commented Jan 5, 2017

When decoding using multiple threads and no display, the md5 logs may be interleaved leading to bad md5 display.
Example:

POC  379 TId: 3 QId: 0 ( B-SLICE, QP 31 ) [L0 378 376 ] [L1 380 384 ] 
[MD5:
dc7d
POC  377 TId: 3 QId: 0 ( B-SLICE, QP 31 ) [L0 376 378 ] [L1 378 380 ] 
[MD5:
66197252942774dba4899ad2477fe28e78783571d1
e5f448f2a682f1540b9152eb877da9fa
3308d9b59c97ad5df5e720b4442d086d
]140d0878ea782a39a1
e3a15e859e5cf017515b1ad32105cb2a
dd6a1b2e8b1652ec92ded05a5435f219
]

It is possible to make the md5 log thread safe (or add an option for that)
Thanks !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant