Hi,

It looks like you're following a direction that hasn't been well 
exercised yet. The codebase actually has two concepts tied into the 
defines. The first is to use only single threaded operations. The second 
was to support more constrained devices. Splitting and clarifying the 
differences was a process that was underway but had not gained as much 
attention as implementors had no immediate need to support other than 
"full" vs. "minimal" targets.

In your use case do you have need for both of those aspects, or just 
avoiding the use of pthreads?

As a follow-up, if you continue to hit problems we can take a look and 
have a better idea what to test if we know your targeted use cases.


Thanks,

Jon

On 02/09/2016 12:01 AM, Raghavendra Kakarla wrote:
>
> Hi Ashok,
>
> Thank you very much for your response.
>
>
> When I build with the SINGLE_THREAD=1 with scons I got the following 
> error:
>
> mips-sde-elf-gcc: error: unrecognized command line option '-pthread'
>
>
> could please if I did any wrong.
>
>
> Regards,
>
> Raghavendra K.
>
>
>
>
>
> ------------------------------------------------------------------------
> *From:* ASHOKBABU CHANNA <ashok.channa at samsung.com>
> *Sent:* Tuesday, February 9, 2016 12:30 PM
> *To:* Raghavendra Kakarla; iotivity-dev at lists.iotivity.org
> *Subject:* Re: [dev] CSDK building without the pthread support
>
> Hi,
>
> You can build with "SINGLE_THREAD" CPP define flag for without pthread 
> support.
>
> For Arduino, IoTivity will build with same flag.
>
>
> Regards,
>
> Ashok
>
> ------- *Original Message* -------
>
> *Sender* : Raghavendra Kakarla<Raghavendra.Kakarla at inedasystems.com>
>
> *Date* : Feb 09, 2016 12:19 (GMT+05:30)
>
> *Title* : [dev] CSDK building without the pthread support
>
> Hi All,
>
>
> Could you please give me the information that, Is it possible to build 
> IoTivity CSDK building without the pthread support.
>
>
> Regards,
>
> Raghavendra K.
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
>
> _______________________________________________
> iotivity-dev mailing list
> iotivity-dev at lists.iotivity.org
> https://lists.iotivity.org/mailman/listinfo/iotivity-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160209/9e8b56b7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 13168 bytes
Desc: not available
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160209/9e8b56b7/attachment.gif>

Reply via email to