Liste des Groupes | Revenir à cl c++ |
On 12/9/24 13:34, jseigh wrote:Well, that works for sure. Humm. If a user wants to register a per-thread object with the polling thread, well... Let them do it! Actually, it's a little more flexible, so to speak... Wrt the api:On 11/27/24 10:29, jseigh wrote:Fixed the whole thread_local issue. Just don't use it. II'm going to drop working on the whole proxy interface thing. The>
application can decide if it wants to hardcode a dependency on a
particular 3rd party libarary implementation or abstract it out
to a more portable api.
>
I figured out where the smr vs smrlite overhead is likely coming from.
>
1) thread_local load about .3 nsecs, 2 for lock/unlock so .6 nsecs.
2) overhead from lazy initialization, about .6 nsecs.
>
smrlite most of the time doesn't show any measurable overhead,
0 nsecs.
went back to the api I was using in C and leave it up to
the app to keep track of thread local objects. Fixes the
problem of multiple proxies needing multiple per thread
objects. This is a language issue, not an api issue.
;^DTheoretically, you could do do lazy initialization with zeroAnd apparantly I am right. :)
runtime overhead, but for most c++ apps, 1 millisecond is
considered fast, so I don't think there would be much interest
in it.
Date | Sujet | # | Auteur | |
17 Oct 24 | smrproxy v2 | 66 | jseigh | |
17 Oct 24 | Re: smrproxy v2 | 41 | Chris M. Thomasson | |
17 Oct 24 | Re: smrproxy v2 | 40 | jseigh | |
18 Oct 24 | Re: smrproxy v2 | 39 | Chris M. Thomasson | |
18 Oct 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
18 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
18 Oct 24 | Re: smrproxy v2 | 36 | jseigh | |
26 Oct 24 | Re: smrproxy v2 | 35 | Chris M. Thomasson | |
26 Oct 24 | Re: smrproxy v2 | 34 | jseigh | |
27 Oct 24 | Re: smrproxy v2 | 33 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 32 | jseigh | |
28 Oct 24 | Re: smrproxy v2 | 28 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 27 | jseigh | |
28 Oct 24 | Re: smrproxy v2 | 26 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 25 | jseigh | |
28 Oct 24 | Re: smrproxy v2 | 24 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 22 | jseigh | |
29 Oct 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 2 | jseigh | |
29 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 5 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 4 | jseigh | |
29 Oct 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 2 | jseigh | |
1 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 13 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 12 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 11 | jseigh | |
4 Nov 24 | Re: smrproxy v2 | 10 | Chris M. Thomasson | |
4 Nov 24 | Re: smrproxy v2 | 9 | jseigh | |
4 Nov 24 | Re: smrproxy v2 | 3 | Muttley | |
4 Nov 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
9 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
12 Dec 24 | Re: smrproxy v2 | 5 | Chris M. Thomasson | |
12 Dec 24 | Re: smrproxy v2 | 4 | jseigh | |
12 Dec 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
13 Dec 24 | Re: smrproxy v2 | 2 | jseigh | |
26 Dec 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
28 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
29 Oct 24 | Re: smrproxy v2 | 4 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
30 Oct 24 | Re: smrproxy v2 | 1 | jseigh | |
2 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
21 Nov 24 | Re: smrproxy v2 | 17 | jseigh | |
23 Nov 24 | Re: smrproxy v2 | 16 | jseigh | |
23 Nov 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
24 Nov 24 | Re: smrproxy v2 | 2 | jseigh | |
24 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
24 Nov 24 | Re: smrproxy v2 | 12 | jseigh | |
25 Nov 24 | Re: smrproxy v2 | 7 | Chris M. Thomasson | |
25 Nov 24 | Re: smrproxy v2 | 6 | jseigh | |
25 Nov 24 | Re: smrproxy v2 | 2 | Chris M. Thomasson | |
25 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
25 Nov 24 | Re: smrproxy v2 | 3 | Chris M. Thomasson | |
25 Nov 24 | Re: smrproxy v2 | 2 | jseigh | |
26 Nov 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson | |
27 Nov 24 | Re: smrproxy v2 | 4 | jseigh | |
9 Dec 24 | Re: smrproxy v2 | 3 | jseigh | |
11 Dec 24 | Re: smrproxy v2 | 2 | jseigh | |
12 Dec 24 | Re: smrproxy v2 | 1 | Chris M. Thomasson |
Les messages affichés proviennent d'usenet.