boostorg / boostorg/lockfree

[Enhancement] Allow bounded queue size to exceed 65,535 for 64bit systems

Open
#36 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
160
Forks
99
PR merge metrics
No merged PRs in 30d

Description

in https://github.com/boostorg/lockfree/blob/develop/include/boost/lockfree/detail/freelist.hpp lines 335 and 369, replace the numeric const with compile time const derived from 32bit vs. 64bit compilation
(e.g. `#if __x86_64__ || __ppc64__` )

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in include/boost/lockfree/detail/freelist.hpp at lines 335 and 369, and inspect the numeric constants and nearby platform-related definitions. Replace the fixed limit with a compile-time value based on 32-bit versus 64-bit compilation, then verify that bounded queues can exceed 65,535 on 64-bit systems while retaining the existing 32-bit limit.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
backend
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.