1
0
mirror of git://git.gnupg.org/gnupg.git synced 2025-03-02 21:11:05 +01:00
NIIBE Yutaka 9639af5f16 scd: Simplify saving application context.
* scd/app.c (lock_table): Remove LAST_APP field.
(lock_reader, app_dump_state, application_notify_card_reset)
(release_application): Follow the change.
(check_conflict): New.
(check_application_conflict): Lock the slot and call check_conflict.
(select_application): Call check_conflict and not use LAST_APP.

--

We don't need LAST_APP field but just keep the application context by
APP field.  Since we have a reference counter, it is possible if we
can deallocate or not.
2015-12-04 14:13:23 +09:00
..
2015-12-03 11:26:24 +09:00
2015-12-03 11:26:24 +09:00
2013-02-08 09:06:39 +09:00
2015-11-17 12:50:22 +01:00
2014-08-14 14:09:37 +02:00
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2015-11-17 12:50:22 +01:00
2013-02-08 09:06:39 +09:00
2015-07-09 12:51:03 +09:00