Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

qq978358810
Copy link
Contributor

…encies

Description:

  • Renamed the variable signals to sigs because signals is a keyword in the Qt signal-slot mechanism, which causes compilation errors in a Qt environment. The abbreviation sigs is used as a replacement to avoid conflicts.
  • Used the macro TF_CACHELINE_SIZE in the file nonblocking_notifier.hpp, which defines the cache line size for optimizing memory alignment and performance.
  • Added the header file #include "../utility/os.hpp" to provide operating system-related utility support, such as platform-specific definitions for cache line size.

Changed Files:

  • taskflow/core/nonblocking_notifier.hpp

…encies

Description:
- Renamed the variable `signals` to `sigs` because `signals` is a keyword in the Qt signal-slot mechanism, which causes compilation errors in a Qt environment. The abbreviation `sigs` is used as a replacement to avoid conflicts.
- Used the macro `TF_CACHELINE_SIZE` in the file `nonblocking_notifier.hpp`, which defines the cache line size for optimizing memory alignment and performance.
- Added the header file `#include "../utility/os.hpp"` to provide operating system-related utility support, such as platform-specific definitions for cache line size.

Changed Files:
- `taskflow/core/nonblocking_notifier.hpp`
@tsung-wei-huang tsung-wei-huang added the good first issue Good for newcomers label May 14, 2025
@tsung-wei-huang
Copy link
Member

Thank you for the fix!

@tsung-wei-huang tsung-wei-huang merged commit 7b9f678 into taskflow:master May 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants