Re: [sqlite] Proposed: drop support for LinuxThreads

2010-05-19 Thread D. Richard Hipp

On May 19, 2010, at 6:35 PM, Mike Frysinger wrote:

> On Wednesday 12 May 2010 11:43:13 D. Richard Hipp wrote:
>> If we drop support for (the non-standard, non-compliant) LinuxThreads
>> threading library and instead support only standard Posix threads
>> implemented using NPTL, beginning with SQLite release 3.7.0, what
>> disruptions might this cause?
>>
>> Is anybody still using LinuxThreads?
>
> yes.  there are some architectures that lack NPTL at all, and most  
> ports using
> uClibc (the most common embedded port) does not have NPTL support.
>
> is leaving the code alone that big of a hassle ?

Yes, it is a huge hassle.  And it has already been removed.

Beginning with version 3.7.0, SQLite requires posix threads if you  
want to use it in a multi-threaded environment on unix.  LinuxThreads  
is not an acceptable substitute.

Of course, you can still take the sensible approach and avoid  
multithreading all together.  Failing that, SQLite should still work  
on LinuxThreads if you avoid passing database connections from one  
thread to another.

D. Richard Hipp
d...@hwaci.com



___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Proposed: drop support for LinuxThreads

2010-05-12 Thread Matthew L. Creech
On Wed, May 12, 2010 at 11:43 AM, D. Richard Hipp  wrote:
> If we drop support for (the non-standard, non-compliant) LinuxThreads
> threading library and instead support only standard Posix threads
> implemented using NPTL, beginning with SQLite release 3.7.0, what
> disruptions might this cause?
>
> Is anybody still using LinuxThreads?
>

FWIW, our only platform still using LinuxThreads is [/was]
coldfire+MMU (v4e), and a couple of months ago CodeSourcery pushed
complete NPTL support for it upstream.  It's not a very popular or
well-supported system, so I'd take that as a sign that LinuxThreads is
on its last legs.

Obviously there will always be some exceptions, but I'd imagine that
few of them are concerned with keeping those systems up to date with
the very latest SQLite.

-- 
Matthew L. Creech
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Proposed: drop support for LinuxThreads

2010-05-12 Thread Bill King
On 05/13/2010 01:43 AM, ext D. Richard Hipp wrote:
> If we drop support for (the non-standard, non-compliant) LinuxThreads  
> threading library and instead support only standard Posix threads  
> implemented using NPTL, beginning with SQLite release 3.7.0, what  
> disruptions might this cause?
>
> Is anybody still using LinuxThreads?
>
> D. Richard Hipp
> d...@hwaci.com
>
>
>
> ___
> sqlite-users mailing list
> sqlite-users@sqlite.org
> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
>   
Some old embedded platforms have libc compiled with nptl to "save
space", seriously tho, it's pretty much down to a matter of recompiling
libc with the appropriate thread library support. Consider this a vote
for removal/clarity/standardisation, as it's not a huge deal to turn
pthreads on.

-- 
Bill King, Software Engineer
Qt Development Frameworks, Nokia Pty Ltd
Brisbane Office

___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


Re: [sqlite] Proposed: drop support for LinuxThreads

2010-05-12 Thread Florian Weimer
* D. Richard Hipp:

> If we drop support for (the non-standard, non-compliant) LinuxThreads  
> threading library and instead support only standard Posix threads  
> implemented using NPTL, beginning with SQLite release 3.7.0, what  
> disruptions might this cause?

There are several variants of NPTL with varying feature sets on
different GNU/Linux architectures.  But I think you are only after the
behavior of fcntl locks, and those are the same across architectures.
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users


[sqlite] Proposed: drop support for LinuxThreads

2010-05-12 Thread D. Richard Hipp
If we drop support for (the non-standard, non-compliant) LinuxThreads  
threading library and instead support only standard Posix threads  
implemented using NPTL, beginning with SQLite release 3.7.0, what  
disruptions might this cause?

Is anybody still using LinuxThreads?

D. Richard Hipp
d...@hwaci.com



___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users