Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Rule 6.7.1 and thread storage duration
#2
We should have said that 'thread_local' is equivalent to 'static' for this rule and indeed for 11.6.1 as well  (All variables should be initialized).

See C++::2017  [basic_start_static] para 2.

A note has been made to update the document accordingly
Posted by and on behalf of
the MISRA C++ Working Group
Reply


Messages In This Thread
Rule 6.7.1 and thread storage duration - by rg99 - 10-09-2024, 06:40 PM
RE: Rule 6.7.1 and thread storage duration - by misra cpp - 13-09-2024, 03:09 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)