Lock-free data structures [closed] - c

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Can someone point me to an easy to understand implementation of lock-free data structures (pseudo-code is fine) that only use low-level atomic instructions like test&set and compare&swap. I'm trying to learn how they work, but everything I've seen is way more complex than what I want. I'm specifically looking for linked lists, queues, and stacks.
It'll be awesome if I can get a C implementation.

Related

C IDE that lists the functions I've declared [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Anyone know of a C IDE that lists the declared functions in the code on a sidebar?
It would be nice to click to go directly to the function instead of scrolling a lot. The code I work with is unfortunately a bit monolithic.
Of course, Eclipse is capable to show your code outline in the outline view.
See here: https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Fconcepts%2Fcoutline.htm

C - user level thread library example [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
Is there any simple example you know? (with using getcontext, setcontext, makecontext)
I found some examples but they are a bit high level.
I just need to create threads and yield between them for now.
You didn't do any research. This is a pretty basic question.
http://softpixel.com/~cwright/programming/threads/threads.c.php
How to "multithread" C code
Question on Getcontext function

Which database should I use for a rule-based language? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I wrote rules in Jess, which database should I use to store them?
Jess has no built-in capability for storing rules in a database; it works with flat files, either text or XML. To use a database, you'd have to implement code yourself to retrieve (and store) them. As such, there's not much we can do to help you choose a database, as Jess won't care.

Crypto++ equivalent in C [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Is there any equivalent of open-source ANSI-C library for cryptographic primitives.
I know about Crypto++ for C++, but was not able to find anything for C
Mostly I need SHA-1, SHA-2, AES, RSA
PolarSSL seems to have quite good coverage.
You could use OpenSSL. It may be a bit over sized for your purpose but it does contain your primitives. It is both used a lot and it is maintained.

A tool to convert JSON to C struct? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm just wondering if anyone has already created a tool that will take a given JSON string and write the code for an identical struct in C along with the parser code specific to that struct.
I'm about to do this myself using JSON-C, but I thought I'd ask first.
I think protobuf is my best bet. A guy on the NodeJS list led me on to this.
protobuf-c
node-protobuf
protobuf-js

Resources