Comments (8)
Are the auto-generated thread names unique among those 8 threads? I can't see anything else that would mess this up.
from remotery.
That seems it. The issue is the 64bit version of Base64_Encode appears to have a problem. If I print the name and address we get the following, showing all the addresses come to the same name. I'll see if I can fix and submit a pull request.
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB710E90
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB71B8A0
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB71BE70
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB71BFD0
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB71C290
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB71BDC0
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB71BF20
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB71C080
TS name: zc3NTs3NM04=
TS address: 0x0000006FDB71C6B0
from remotery.
Quick Q: Would you prefer Unamed%d instead? Could be done with an atomically incremented thread count fairly easily (unless you already have a suitable thread number available).
from remotery.
Yes, anything would be better than Base64_Encode, as long as it doesn't introduce API calls that are hard to make cross-platform with C89 (e.g. snprintf).
from remotery.
I've added the simple fix for now (you'll laugh I hope), and will look into a better one.
from remotery.
I actually think the Base64_Encode function is horribly broken. Which would make things interesting for the WebSocket handshake...
from remotery.
Oh, and hang on... you do realise that the fix you've made actually makes the code do what the comment says it does!? I can be a numpty sometimes...
from remotery.
Found the regression: ad9c926#diff-3b5be79006d8af568f3844e9e5bf7d93L3568
from remotery.
Related Issues (20)
- Remotery build error under windows10 HOT 1
- Apps targeting Android 10 cannot directly use ashmem (/dev/ashmem) HOT 2
- Sample window font in Firefox (macOS) is blurry HOT 9
- Shrink LFSR static data HOT 1
- Complie Error: `TIMERR_NOERROR` not found when complie under windows 11 HOT 1
- Metal broken HOT 13
- Assert when destroying global instance while sample tree isn't empty HOT 6
- Q: Possibility to use without memory mapping? HOT 6
- GetInt64 and GetUInt64 return float64 HOT 3
- Android build failing HOT 2
- Thread Sanitizer data race issues. HOT 1
- How to use in Sample? HOT 7
- Failure to load on Firefox when opening locally, GLSL files blocked due to MIME type
- MINGW-64 does not seem to define _M_AMD64 or _M_X64 HOT 1
- .NET bindings
- Crash on shutdown if rmt_DestroyGlobalInstance is called right after initialization without delay. HOT 2
- Dynamic samples not showing up the name HOT 1
- Duplicate function bodies with both D3D12 and Vulkan enabled HOT 1
- example: How to get `CPU load` for `current process` (app itself)?
- Q: Is it feasible to run on a single thread? HOT 2
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 remotery.