Giter Site home page Giter Site logo

study's Introduction

study

This is Hyun Sik Yoon's Personal repository for self-study.

study's People

Contributors

hyunsik-yoon avatar

Watchers

James Cloos avatar  avatar

study's Issues

C 와 C++ 을 같이 쓰는 project

https://isocpp.org/wiki/faq/mixing-c-and-cpp

  • main()은 C++ compiler 를 쓰라.
    • 최신 것이 옛날 것을 덮어야 편하다는 의미인듯.
  • C++ compiler가 링크를 하도록 하라.
  • C, C++ compiler는 same vendor, compatible version 등을 체크하라. (아무거나 섞어 쓸수 있는게 아니다)
  • C 소스코드가 있다면 C++ compiler 로 컴파일하면 문제가 없다.
    • 그르나 C 소스코드를 C++ warning 등을 애기 위해 수정해야할 수도 있다. 수정하면 더 clean한 C 코드가 된다고.
    • C, C++을 mix 해서 쓰려는 노력보다 위처럼 C++ 컴팔러만 쓰고 C 소스코드 수정하는게 쉬울 수도 있다.

Scheduling of threads

from

    pthread_t thread1 = t1.native_handle();

    // set the scheduling parameters for thread1 to a higher priority
    struct sched_param params;
    params.sched_priority = sched_get_priority_max(SCHED_FIFO);
    int ret = pthread_setschedparam(thread1, SCHED_FIFO, &params);
    ...

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.