Skip to content

Commit

Permalink
Fix futex_fatal_error -- issue chakra-core#6931 (chakra-core#6932)
Browse files Browse the repository at this point in the history
  • Loading branch information
EmployedRussian authored Apr 17, 2024
1 parent c2d97aa commit 5249f3d
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions pal/inc/cclock.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,9 @@
#ifndef CC_PAL_INC_CCLOCK_H
#define CC_PAL_INC_CCLOCK_H

#if defined(_M_ARM64)
#define CCLOCK_ALIGN __declspec(align(8))
#else
#define CCLOCK_ALIGN
#endif

class CCLOCK_ALIGN CCLock
class CCLock
{
__declspec(align(sizeof(size_t)))
char mutexPtr[64]; // keep mutex implementation opaque to consumer (PAL vs non-PAL)

public:
Expand Down

0 comments on commit 5249f3d

Please # to comment.