Comments (2)
Thanks for the PR! I have a few questions to clarify:
- Maybe we should not have a test for 4GB. My concern is what would happen on Windows XP with less than 4 GB? Some embedded machines may also have less than 4GB of physical memory available. There is a clear problem with Windows API usage (what PR is fixing), but I would prefer to avoid having extreme test cases which potentially cannot be run on low-performance machines.
- In LOWDWORD macro, why do you need to do shifts at all? I guess you can just cut high word like this:
#define LODWORD(l) ((DWORD)((DWORDLONG)(l)))
from plibsys.
Sorry for the delay.
I agree with you, 4GB is really not needed for testing on a windows XP machine. I added this just to test, i suggest you can remove it.
But now i am using plibsys to develop cross-platform applications. Our program have a need to mem allocate 4GB of shared memory on windows. So i summit a PR. I have change LOWDWORD macro and delete 4GB mem test.
Can you please help to solve this problem?
Thanks a lot!
from plibsys.
Related Issues (20)
- [p_hash_table_remove] Twice calc/search was performed HOT 1
- Missing AF_INET definition on Windows HOT 4
- how to create only .a library HOT 1
- Problems compiling with static library HOT 1
- How about using C STD uint32_t instead of puint32 and so on? HOT 1
- bug in pp_shm_buffer_get_free_space function HOT 1
- If possible, raw sockets?
- New Data Structures? HOT 1
- Possible *small* memory leak? HOT 4
- Check state of plibsys library initalization HOT 1
- pmacros_test fails HOT 3
- Header files not using relative includes. HOT 1
- CMAKE 2.8.0 is getting deprecated HOT 1
- A weirded error: ld.exe: final link failed: Permission denied HOT 1
- Question: is AArch64 supported ? HOT 1
- shmem test fails on Fedora 37 HOT 2
- Hash table not able to hash string HOT 1
- Project builds with visual studio but not ninja and MinGW : error: 'ERROR_INVALID_HANDLE' undeclared (first use in this function) HOT 4
- Major performance improvement question HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plibsys.