Is there a decent C ++ wrapper around Win32 lockless SList?

Windows provides a locked, separately linked list, as described on this page: Win32 SList

I am wondering if there is good good C ++ wrapper around this function. When I say good, I mean that it exports the normal STL interface as much as possible, supports iterators, etc. I'd rather use a different implementation than sit to write a container like STL.

+3
source share
4 answers

You can quickly get up and work with boost and :: boost :: iterator_facade.

, , - , , Alexandrescou DevCon. , (, , ) . , . , .

Mars, semi-OO, , OO-vs-Distributed. "" / , . , " ", . , scoped_lock, "96 ", .

Atom Sutter DDJ ( 10 Pentium Pro ).

(, , - , boost DDJ .net MS CCR, , , OO- . , , , , concurrent_vector TBB. , , , ++ ..)

+1

STL SList. , node , , . node - . node, , node, . , " " . node, "" SLIST_ENTRY, , , , , . , node .

SList . , , STL . STL , SList.

, , ++ SList, STL.

+5

, , , ( ) - . , , , std:: list, .

, ( push pop), - .

+3

I think that a thin wrapper should be very easy to write. something like 1-2 pages, maybe everything in the .h file. Instead of combing google, I would write it myself.

-1
source

Source: https://habr.com/ru/post/1707151/


All Articles