Click here to Skip to main content
15,040,003 members

Articles by David Lafreniere (Articles: 16)

Articles: 16

RSS Feed

Average article rating: 4.91

Desktop Programming
Win32
Posted: 22 Apr 2016   Updated: 23 Oct 2019   Views: 18,143   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 608
Please Sign up or sign in to vote.
A Win32 CreateThread() C++ wrapper class for synchronized thread startup and forced message queue creation.
Programming Languages
C
Posted: 9 Jun 2017   Updated: 9 Jun 2017   Views: 9,370   Rating: 4.48/5    Votes: 10   Popularity: 4.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 238
Please Sign up or sign in to vote.
A type-safe multicast callback library used for anonymous function invocation implemented in C
Posted: 23 Dec 2018   Updated: 24 Dec 2018   Views: 16,391   Rating: 5.00/5    Votes: 13   Popularity: 5.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 572
Please Sign up or sign in to vote.
Unique allocator features improve performance and protect against heap fragmentation faults on any C or C++ project.
Posted: 6 Jan 2019   Updated: 29 Jan 2019   Views: 14,432   Rating: 5.00/5    Votes: 11   Popularity: 5.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 22   Downloaded: 446
Please Sign up or sign in to vote.
Simplify passing data between threads with this portable C language callback library.
Posted: 2 Feb 2019   Updated: 1 May 2021   Views: 104,958   Rating: 4.99/5    Votes: 47   Popularity: 8.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 71   Downloaded: 3,064
Please Sign up or sign in to vote.
A compact C finite state machine (FSM) implementation that's easy to use on embedded and PC-based systems
C++
Posted: 15 Mar 2020   Updated: 19 Mar 2020   Views: 10,443   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 312
Please Sign up or sign in to vote.
Invoke remote functions over any communication medium using a C++ delegate library
Posted: 13 Dec 2016   Updated: 2 Oct 2020   Views: 51,074   Rating: 4.99/5    Votes: 53   Popularity: 8.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 107   Downloaded: 1,596
Please Sign up or sign in to vote.
A C++ standards compliant delegate library capable of targeting any callable function synchronously or asynchronously
Posted: 6 Mar 2016   Updated: 28 Mar 2016   Views: 75,699   Rating: 4.89/5    Votes: 16   Popularity: 5.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 57   Downloaded: 1,862
Please Sign up or sign in to vote.
A fixed block memory allocator that increases system performance and offers heap fragmentation fault protection
Posted: 11 Mar 2016   Updated: 15 Apr 2016   Views: 68,376   Rating: 4.90/5    Votes: 22   Popularity: 6.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 1,322
Please Sign up or sign in to vote.
Replace malloc/free with xmalloc/xfree is faster than the global heap and prevents heap fragmentation faults.
Posted: 3 Apr 2016   Updated: 6 Feb 2020   Views: 59,286   Rating: 5.00/5    Votes: 21   Popularity: 6.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 984
Please Sign up or sign in to vote.
Protect against heap fragmentation faults and improve execution speed with a fixed block alternative to STL std::allocator
C++11
Posted: 5 Feb 2017   Updated: 13 Sep 2020   Views: 136,474   Rating: 4.77/5    Votes: 38   Popularity: 7.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 58   Downloaded: 3,488
Please Sign up or sign in to vote.
Create a worker thread with an event loop, message queue and a timer using the C++11 thread support library
Posted: 11 Jan 2017   Updated: 23 Oct 2019   Views: 23,953   Rating: 5.00/5    Votes: 11   Popularity: 5.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 774
Please Sign up or sign in to vote.
A framework combining state machines with asynchronous multicast delegates
C++14
Posted: 19 Aug 2020   Updated: 3 Sep 2020   Views: 15,213   Rating: 5.00/5    Votes: 20   Popularity: 6.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 336
Please Sign up or sign in to vote.
A C++17 standards compliant delegate library capable of targeting any callable function synchronously or asynchronously
Objective C
Posted: 15 Apr 2016   Updated: 25 Jan 2019   Views: 82,280   Rating: 4.93/5    Votes: 45   Popularity: 8.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 98   Downloaded: 1,713
Please Sign up or sign in to vote.
Simplify passing data between threads using this multithreaded, portable C++ asynchronous callback framework
Posted: 18 Nov 2016   Updated: 26 Jan 2019   Views: 45,257   Rating: 4.74/5    Votes: 33   Popularity: 7.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 65   Downloaded: 1,517
Please Sign up or sign in to vote.
A framework combining state machines and multicast asynchronous callbacks
Posted: 23 Mar 2016   Updated: 20 Feb 2019   Views: 308,682   Rating: 4.91/5    Votes: 135   Popularity: 10.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 283   Downloaded: 13,835
Please Sign up or sign in to vote.
A compact C++ finite state machine (FSM) implementation that's easy to use on embedded and PC-based systems

Average blogs rating:

No blogs have been submitted.

Average tips rating:

No tips have been posted.

Average reference rating:

No reference articles have been posted.

Average project rating:

No projects have been posted.

David Lafreniere
United States United States
I've been a professional software engineer for over 20 years. When not writing code, I enjoy spending time with the family, camping and riding motorcycles around Southern California.