Changeset 213 in flair-src for trunk/lib/FlairCore/src/unexported


Ignore:
Timestamp:
Jan 30, 2018, 5:47:12 PM (7 years ago)
Author:
Sanahuja Guillaume
Message:

thread stack size rework
add Matrix class

Location:
trunk/lib/FlairCore/src/unexported
Files:
1 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/FlairCore/src/unexported/FrameworkManager_impl.h

    r186 r213  
    4646                       size_t rcv_buf_size);
    4747  void SetupUserInterface(std::string xml_file);
    48   void SetupLogger(std::string log_path);
     48  void SetupLogger(std::string log_path,uint32_t stackSize);
    4949  void AddDeviceToLog(flair::core::IODevice *device);
    5050        bool IsDeviceLogged(const flair::core::IODevice *device) const;
  • trunk/lib/FlairCore/src/unexported/Thread_impl.h

    r186 r213  
    3232class Thread_impl {
    3333public:
    34   Thread_impl(flair::core::Thread *self, uint8_t priority);
     34  Thread_impl(flair::core::Thread *self, uint8_t priority,uint32_t stackSize);
    3535  ~Thread_impl();
    3636  void Start(void);
     
    5555  flair::core::ConditionVariable *cond;
    5656  uint8_t priority;
     57  uint32_t stackSize;
    5758  flair::core::Time max_latency, min_latency, mean_latency;
    5859  flair::core::Time last;
  • trunk/lib/FlairCore/src/unexported/config.h

    r15 r213  
    2020
    2121// stack size of nrt threads, comment it to use default value
     22// only used for user threads in udpsocket and ui_com, in case of the rt library
    2223#define NRT_STACK_SIZE 1024 * 1024 * 1
    23 
    24 // stack size of rt threads, comment it to use default value
    25 #define RT_STACK_SIZE 1024 * 100
    2624
    2725// rt pipe size, comment it to use system heap
     
    3230
    3331// rt log heap size
    34 #define LOG_HEAP 1024 * 100
     32#define RT_LOG_HEAP 1024 * 100
    3533
    36 // xml heap size
    37 #define XML_HEAP 5 * 1024 * 1024
     34// rt xml heap size
     35#define RT_XML_HEAP 5 * 1024 * 1024
    3836
    3937// nrt pipe path
Note: See TracChangeset for help on using the changeset viewer.