Like Tree1Likes
  • 1 Post By Theodoor

Timer function library for Linux and Windows

This is a discussion on Timer function library for Linux and Windows within the Networking/Device Communication forums, part of the General Programming Boards category; If you intend to write a GPL-licensed, opensource and multiplatform program in C or C++ and you want to use ...

  1. #1
    Registered User
    Join Date
    Sep 2009
    Posts
    14

    Timer function library for Linux and Windows

    If you intend to write a GPL-licensed, opensource and multiplatform program in C or C++ and you want to use a timer, look here:

    Timer function code for Linux and Windows

    With this library, you can use GCC on Linux and MinGW on windows to use a timer without the need to make any changes in your sourcecode.

    Regards.

  2. #2
    Registered User
    Join Date
    Dec 2011
    Posts
    795
    Or you could just use the built-in functions?

    Either way, why is this under the Linux dev board?

  3. #3
    Registered User
    Join Date
    Sep 2009
    Posts
    14
    Quote Originally Posted by memcpy View Post
    Or you could just use the built-in functions?
    It uses the built-in functions. It calls the respective Linux or windows api depending to the platform in use.
    The reason I posted this, is that there are always new novice-programmers which are struggling with this and
    are trying to invent the wheel again.

    Quote Originally Posted by memcpy View Post
    Either way, why is this under the Linux dev board?
    My misstake, I posted it in the wrong board. Is there a way to move this thread?

  4. #4
    Registered User
    Join Date
    Sep 2007
    Posts
    131
    I tend to avoid GPL due to viral licensing issues.

  5. #5
    Registered User
    Join Date
    Sep 2009
    Posts
    14
    Quote Originally Posted by Cynic View Post
    I tend to avoid GPL due to viral licensing issues.
    I avoid those issues by applying the GPL-licence to all my software.
    manasij7479 likes this.

  6. #6
    Epy
    Epy is offline
    Fortran lover Epy's Avatar
    Join Date
    Sep 2009
    Location
    California, USA
    Posts
    960

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Porting an input function from linux to windows
    By claphahat in forum C Programming
    Replies: 2
    Last Post: 07-27-2010, 04:55 AM
  2. RS232 serial port library for Linux and Windows
    By Theodoor in forum Networking/Device Communication
    Replies: 8
    Last Post: 09-26-2009, 06:45 AM
  3. Porting a shared library from Linux to Windows
    By DARKGuy in forum C++ Programming
    Replies: 1
    Last Post: 06-23-2007, 01:45 PM
  4. Replies: 1
    Last Post: 05-05-2006, 11:46 PM
  5. GUI library that works on windows and linux?
    By Logan in forum C++ Programming
    Replies: 2
    Last Post: 04-28-2006, 08:40 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21