I thought I would share in case anyone ever has this problem so they know what to look for so they don't embarrass themself like I did :P
This illustrates what my problem was:
Global Mutex = CreateMutex()
Procedure.i FCGIWorker(*Parameter)
While WaitFastCGIRequest()
LockMutex(Mutex ...
Search found 10 matches
- Wed Jun 08, 2016 5:44 pm
- Forum: Coding Questions
- Topic: FCGI threading?
- Replies: 6
- Views: 1896
- Wed Jun 08, 2016 5:31 pm
- Forum: Coding Questions
- Topic: FCGI threading?
- Replies: 6
- Views: 1896
Re: FCGI threading?
Are the mutexes in PureBasic reentrant? I found a bug that I must have introduced when i switched from SQLite to PGSQL when I removed all my SQL mutexes and there was a double lock at the start of each thread but one thread would always survive to handle the requests... I wasn't looking for that ...
- Wed Jun 08, 2016 5:10 pm
- Forum: Coding Questions
- Topic: FCGI threading?
- Replies: 6
- Views: 1896
Re: FCGI threading?
Tried adding umask_(0) both before and after InitFastCGI() and neither yielded any result. Still only one thread showing any load.
- Wed Jun 08, 2016 3:15 pm
- Forum: Coding Questions
- Topic: FCGI threading?
- Replies: 6
- Views: 1896
Re: FCGI threading?
Yes, I am compiling with the -t flag. If I don't it crashes which made me wonder if the lack of thread utilisation was a bug.
- Wed Jun 08, 2016 11:35 am
- Forum: Coding Questions
- Topic: FCGI threading?
- Replies: 6
- Views: 1896
FCGI threading?
Is it possible to spawn FastCGI worker threads? I've been working on a FastCGI program for a couple weeks. I assumed that like the C FastCGI library you could start a worker thread to sit on WaitFastCGIRequest(). I spawn several worker threads but when the server is under heavy load(from "ab -n ...
- Wed Oct 21, 2015 2:34 am
- Forum: General Discussion
- Topic: Okay people... what are you working on in PB right NOW?
- Replies: 126
- Views: 48901
Re: Okay people... what are you working on in PB right NOW?
Tactical/Strategy RPG
Screenshots(Too big for image tag)
https://dl.dropboxusercontent.com/u/830654/TRPG1.png
https://dl.dropboxusercontent.com/u/830654/TRPG2.png
Short Video
https://twitter.com/ectuireann/status/6 ... 2375645184
Screenshots(Too big for image tag)
https://dl.dropboxusercontent.com/u/830654/TRPG1.png
https://dl.dropboxusercontent.com/u/830654/TRPG2.png
Short Video
https://twitter.com/ectuireann/status/6 ... 2375645184
- Tue Oct 20, 2015 7:42 am
- Forum: General Discussion
- Topic: Kate/KDevelop highlighting file for 5.40
- Replies: 2
- Views: 1846
Kate/KDevelop highlighting file for 5.40
Wasn't sure where to post this...
Updated the Kate/KDevelop PureBasic highlighting file for 5.40 LTS and added a
few enhancements.
- Updated Function list to match additions and removals in 5.40
- Updated Keyword list and added matching contexts for folding
- Updated Debug Keyword list
- Added ...
Updated the Kate/KDevelop PureBasic highlighting file for 5.40 LTS and added a
few enhancements.
- Updated Function list to match additions and removals in 5.40
- Updated Keyword list and added matching contexts for folding
- Updated Debug Keyword list
- Added ...
- Mon Jul 06, 2015 4:02 pm
- Forum: Feature Requests and Wishlists
- Topic: Support for ARM-Linux
- Replies: 121
- Views: 59482
Re: Support for ARM-Linux
If you really had your heart set on using PB on a RasPi or anything ARM and Linux you could always check out my little open source project http://www.epicbasic.org/ . I have been working on it for several months but it's still pretty simple and the documentation is sparse at best. It takes and ...
- Tue Jun 02, 2015 7:04 pm
- Forum: Off Topic
- Topic: Purebasic (Linux) highlighting supported in Kate Editor
- Replies: 3
- Views: 2417
Re: Purebasic (Linux) highlighting supported in Kate Editor
Thanks, this is my first post in this name and my first post in many years but I have been around for a while. It can take a little tweaking to get KDevelop to play nice with PureBasic but I've been meaning to throw together a PB project template for it. Perhaps I will do this tonight and post it.
- Mon Jun 01, 2015 8:04 am
- Forum: Off Topic
- Topic: Purebasic (Linux) highlighting supported in Kate Editor
- Replies: 3
- Views: 2417
Re: Purebasic (Linux) highlighting supported in Kate Editor
The version katepart distributes is rather old. I use KDevelop with PureBasic however so here's is the updated version I created a while ago for 5.31 with all the updated procedures. I keep meaning to send it to the katepart mailing list I just keep forgetting.
https://www.dropbox.com/s ...
https://www.dropbox.com/s ...